Help Center> Content Delivery Network> User Guide> Permissions Management> Creating a User and Granting CDN Permissions
Updated on 2023-11-17 GMT+08:00

Creating a User and Granting CDN Permissions

This chapter describes how to use IAM to implement fine-grained permissions control for your CDN resources. 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 CDN resources.
  • Grant only the permissions required for users to perform a specific task.
  • Entrust an account or cloud service in Huawei Cloud to perform professional and efficient O&M on your CDN resources.

If your Huawei Cloud account does not require individual IAM users, skip this chapter.

This section describes the procedure for granting permissions.

Prerequisites

Learn about the permissions (see Permissions Management.) supported by CDN and choose policies or roles according to your requirements. For the system policies of other services, see System Permissions.

Process Flow

Figure 1 shows the process of granting CDN permissions.

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

    Create a user group on the IAM console, and assign the CDN DomainReadOnlyAccess policy to the group.

  2. Create an IAM user and add it to the user group.

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

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

    Log in to the CDN console as the created user, and verify that it only has read permissions for CDN domain names.

    • Enable or disable an acceleration domain name. If a message appears indicating that you have insufficient permissions to perform the operation, the CDN DomainReadOnlyAccess policy has already taken effect.

    • Choose any other service in Service List. If a message appears indicating that you have insufficient permissions to access the service, the CDN DomainReadOnlyAccess policy has already taken effect.