Updated on 2022-10-08 GMT+08:00

Permissions Management

To assign different access permissions to employees in an enterprise for the CGS resources you purchased on Huawei Cloud, you can use Identity and Access Management (IAM) to perform refined permission management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your Huawei Cloud resources.

With IAM, you can use your Huawei Cloud account to create IAM users for your employees, and assign permissions to the users to control their access to specific resource types. For example, some software developers in your enterprise need to use CGS resources but must not delete them or perform any high-risk operations. To achieve this, you can create IAM users for the software developers and grant them only the permissions required for using CGS resources.

If your Huawei Cloud account does not need individual IAM users for permissions management, skip over this chapter.

IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see What Is IAM.

CGS Permissions

By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from their owning groups and can perform specified operations on cloud services based on the permissions.

To assign CGS permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing CGS, the users need to switch to a region where they have been authorized to use cloud services.

You can grant users permissions by using roles and policies.

  • Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you also need to assign other roles that the permissions depend on to take effect. However, roles are not an ideal choice for fine-grained authorization and secure access control.
  • Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant CGS users only the permissions for managing a certain type of ECSs. For details about the actions supported by CGS, see CGS Permissions and Supported Actions.
Table 1 CGS system role

Role/Policy Name

Description

Type

Dependencies

CGS Administrator

CGS system administrator, who has all permissions of CGS.

System role

Dependent on the Tenant Guest policy, which needs to be assigned in the same project as the CGS Administrator policy

CGS FullAccess

All permissions of CGS

System-defined policy

None

CGS ReadOnlyAccess

Read-only permissions for CGS

System-defined policy

None