Help Center/ Domain Name Service/ User Guide/ Permissions Management/ Creating a User and Granting DNS Permissions
Updated on 2024-12-19 GMT+08:00

Creating a User and Granting DNS Permissions

To implement fine-grained permissions control over your DNS resources, IAM is a good choice. With IAM, you can:

  • Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing DNS resources.
  • Grant users only the permissions required to perform a given task based on their job responsibilities.
  • Entrust another Huawei Cloud account or cloud service to perform efficient O&M on your DNS resources.

Skip this part if your Huawei Cloud account does not need individual IAM users.

Figure 1 shows the process of granting permissions.

Prerequisites

You have learned about DNS permissions (see Permissions) and have chosen the right policies or roles based on your requirements. For the permission policies of other services, see System Permissions.

Process Flow

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

    Create a user group on the IAM console and attach the DNS ReadOnlyAccess policy to the group, which grants users read-only permissions to DNS resources.

  2. Create a user and add the user to the user group

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

  3. Log in to the management console as the created user.

    Verify that the user only has read permissions for DNS.

    • Choose Service List > Domain Name Service. On the DNS console, choose Dashboard > Public Zones. On the displayed page, click Create Public Zone. If the public zone cannot be created, the DNS ReadOnlyAccess policy has already taken effect.
    • Choose any other service from Service List. If a message appears indicating that you have insufficient permissions to access the service, the DNS ReadOnlyAccess policy has already taken effect.