Updated on 2024-06-14 GMT+08:00

Permissions

If you need to assign different permissions to employees in your enterprise, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you to securely access your Huawei Cloud resources.

With IAM, you can create IAM users and assign permissions to control their access to RAM resources. If your account does not need individual IAM users for permissions management, you can skip this section.

IAM is a free service. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.

RAM Permissions

New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.

RAM is a global service deployed for all regions. When you set the authorization scope to Global services, users have permission to access RAM in all regions.

You can grant permissions by using roles and policies.

  • Roles: A coarse-grained authorization strategy provided by IAM to assign permissions based on users' job responsibilities. Only a limited number of service-level roles are available for authorization. Huawei Cloud services depend on each other. When you grant permissions using roles, you also need to attach dependent roles. Roles are not ideal for fine-grained authorization and least privilege access.
  • Policies: A fine-grained authorization strategy that defines permissions required to perform operations on specific cloud resources under certain conditions. This type of authorization is more flexible and is ideal for least privilege access.

Table 1 lists all the system-defined permissions for RAM.

Table 1 System-defined permissions for RAM

Permission

Description

RAM FullAccess

Full permissions for RAM.

RAM ReadOnlyAccess

Read-only permissions for RAM.

RAM ResourceShareParticipantAccess

Permissions for accepting or reject a resource sharing invitation.

Table 2 lists the common operations supported by system-defined permissions for RAM.

Table 2 Common operations supported by system-defined permissions

Operation

RAM FullAccess

RAM ReadOnlyAccess

RAM ResourceShareParticipantAccess

Listing RAM managed permissions

Supported

Supported

Not supported

Getting the details about RAM managed permissions

Supported

Supported

Not supported

Creating a resource share

Supported

Not supported

Not supported

Searching for resource shares

Supported

Supported

Supported

Updating a resource share

Supported

Not supported

Not supported

Deleting a resource share

Supported

Not supported

Not supported

Associating principals and resources with a resource share

Supported

Not supported

Not supported

Disassociating principals and resources from a resource share

Supported

Not supported

Not supported

Searching for associated principals and resources

Supported

Supported

Not supported

Attaching or replacing RAM managed permissions

Supported

Not supported

Not supported

Detaching RAM managed permissions

Supported

Not supported

Not supported

Listing attached RAM managed permissions

Supported

Supported

Not supported

Searching for shared resources

Supported

Supported

Supported

Searching for principals

Supported

Supported

Supported

Accepting a resource sharing invitation

Supported

Not supported

Supported

Rejecting a resource sharing invitation

Supported

Not supported

Supported

Searching for a resource sharing invitation

Supported

Supported

Supported

Enabling sharing with Organizations

Supported

Not supported

Not supported

Disabling sharing with Organizations

Supported

Not supported

Not supported

Checking whether sharing with Organizations is enabled

Supported

Supported

Not supported