Help Center/ Document Database Service/ User Guide/ Permissions Management/ Creating a User and Granting DDS Permissions
Updated on 2025-09-10 GMT+08:00

Creating a User and Granting DDS Permissions

Scenarios

You can use Identity and Access Management (IAM) for fine-grained permissions control for DDS. With IAM, you can:

  • Create IAM users for personnel based on your enterprise's organizational structure. Each IAM user has their own identity credentials for accessing DDS resources.
  • Grant only the permissions required for users to perform a specific task.
  • Entrust a Huawei Cloud account or a cloud service to perform efficient O&M on your DDS resources.

If your Huawei Cloud account does not require individual IAM users, you can skip this section.

This section describes the procedure for granting user permissions. Figure 1 shows the process flow.

Prerequisites

Before granting permissions to user groups, learn about system-defined permissions in System-defined permissions for DDS.

Process Flow

Figure 1 Process for granting DDS permissions
  1. On the IAM console, .

    Create a user group on the IAM console, and assign the DDS FullAccess permissions to the group.

    To use some interconnected services, you also need to configure permissions of such services.

    For example, when using DAS to connect to a DB instance, you need to configure the DDS FullAccess and DAS FullAccess permissions.

  2. .

    Create a user on the IAM console and add it to the user group created in 1.

  3. Log in as the IAM user and verify permissions.

    In the authorized region, perform the following operations:

    Choose Service List > Document Database Service and click Buy DB Instance. If you can buy a DDS DB instance, the required permission policy is in effect.