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

Permissions

If you need to grant your enterprise personnel permission to access your SWR resources, use Identity and Access Management (IAM). IAM provides identity authentication, fine-grained permissions management, and access control. IAM helps you secure access to your Huawei Cloud resources.

With IAM, you can create IAM users and grant them permission to access only specific resources. For example, if you want some software developers in your enterprise to be able to use SWR resources but not be able to delete the resources or perform any other high-risk operations, you can create IAM users and grant permission to use SWR resources but not permission to delete them.

If your Huawei Cloud account does not require individual IAM users for permissions management, you can skip this section.

IAM is a free service. You only pay for the resources in your account.

For more information about IAM, see IAM Service Overview.

SWR Permissions

New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and then 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.

SWR is a project-level service deployed for specific regions. When you set Scope to Region-specific projects and select the specified projects (for example, ap-southeast-1) in the specified regions (for example, CN-Hong Kong), the users only have permissions for SWR resources in the selected projects. When accessing SWR, the users need to switch to the authorized region.

Table 1 System-defined permissions for SWR

Role/Policy Name

Description

Type

SWR Admin

Administrator permissions for SWR. Users with this role can perform all operations on SWR resources.

System-defined role

Tenant Administrator

Administrator permissions for all services except IAM.

System-defined role

Tenant Guest

Read-only permissions for all services except IAM. For example, users with this role can pull images.

System-defined role

ServiceStage Developer

ServiceStage developer permissions. For example, users with this role can pull images.

System-defined role

  • You can grant permissions (read, write, and manage permissions), to different users for them to access either a specific image or images in a specific organization.
  • In addition to the roles listed in the table, SWR has system-defined policies, such as SWR FullAccess, SWR OperateAccess, and SWR ReadOnlyAccess. However, the three policies are only available for SWR Enterprise Edition. Only users of SWR Enterprise Edition can be assigned with these policies.