Help Center> Distributed Database Middleware> User Guide> Permissions Management> Creating a User and Granting Permissions

Creating a User and Granting Permissions

You can use IAM to implement refined permission control for DDM resources. To be specific, you can:

  • Create IAM users for employees based on the organizational structure of your enterprise. Each IAM user has their own security credentials, providing access to DDM resources.
  • Grant only the permissions required for users to perform a specific task.
  • Entrust an account or cloud service to perform professional and efficient O&M on your DDM resources.

If your account does not need individual IAM users, then you may skip over this section.

This section describes the procedure for assigning permissions. Figure 1 shows the operation process.

Prerequisites

Before assigning permissions to user groups, you should learn about DDM system policies and select the policies based on service requirements. For details about system permissions supported by DDM, see Permissions Management. For the system policies of other services, see System Permissions.

Process Flow

Figure 1 Process for granting DDM permissions
  1. Create a user group and assign permissions.

    Create a user group on the IAM console, and assign the DDM ReadOnlyAccess policy to the group.

  2. Create an IAM user.

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

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

    Log in to the DDM console by using the created user, and verify that the user only has read permissions for DDM.

    • Choose Service List > Distributed Database Middleware and click Buy DDM Instance to buy a DDM instance. If you cannot buy a DDM instance, the DDM ReadOnlyAccess permission has taken effect.
    • Choose any other service in the Service List (for example, there is only the DDM ReadOnlyAccess policy). If a message appears indicating insufficient permissions to access the service, the DDM ReadOnlyAccess policy has already taken effect.