Permissions
If you need to assign different permissions to personnel in your enterprise to access your CBR resources, 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 specific resources. For example, if you want some software developers in your enterprise to use CBR resources but do not want them to delete CBR resource or perform any other high-risk operations, you can create IAM users and grant permission to use CBR 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.
CBR 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.
CBR is a project-level service deployed for specific regions. When you set Scope to Region-specific projects and select the specified projects in the specified regions, the users only have permissions for CBR resources in the selected projects. If you set Scope to All resources, the users have permissions for CBR resources in all region-specific projects. When accessing CBR resources, the users need to switch to the authorized region.
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 any existing role dependencies. 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. For example, you can grant users only permission to manage ECSs of a certain type. A majority of fine-grained policies contain permissions for specific APIs, and permissions are defined using API actions. For the API actions supported by CBR, see Permissions Policies and Supported Actions.
Policy Name |
Description |
Type |
---|---|---|
CBR FullAccess |
Administrator permissions for CBR. Users with these permissions can operate and use all vaults, backups, and policies. |
System-defined policy |
CBR BackupsAndVaultsFullAccess |
Common user permissions for CBR. Users with these permissions can create, view, and delete vaults and backups, but cannot create, update, or delete policies. |
System-defined policy |
CBR ReadOnlyAccess |
Read-only permissions for CBR. Users with these permissions can only view CBR data. |
System-defined policy |
Table 2 lists the common operations supported by system-defined permissions of CBR.
Operation |
CBR FullAccess |
CBR BackupsAndVaultsFullAccess |
CBR ReadOnlyAccess |
---|---|---|---|
Querying vaults |
Supported |
Supported |
Supported |
Creating vaults |
Supported |
Supported |
Not supported |
Listing vaults |
Supported |
Supported |
Supported |
Updating vaults |
Supported |
Supported |
Not supported |
Deleting vaults |
Supported |
Supported |
Not supported |
Associating resources |
Supported |
Supported |
Not supported |
Dissociating resources |
Supported |
Supported |
Not supported |
Creating policies |
Supported |
Not supported |
Not supported |
Updating policies |
Supported |
Not supported |
Not supported |
Applying policies to vaults |
Supported |
Supported |
Not supported |
Removing policies from vaults |
Supported |
Supported |
Not supported |
Deleting policies |
Supported |
Not supported |
Not supported |
Synchronizing backups |
Supported |
Supported |
Not supported |
Performing backups |
Supported |
Supported |
Not supported |
Updating subscriptions |
Supported |
Supported |
Not supported |
Querying the Agent status |
Supported |
Supported |
Not supported |
Deleting backups |
Supported |
Supported |
Not supported |
Restoring data from backups |
Supported |
Supported |
Not supported |
Associating vaults |
Supported |
Supported |
Not supported |
Batch adding or deleting vault tags |
Supported |
Supported |
Not supported |
Adding vault tags |
Supported |
Supported |
Not supported |
Editing tags |
Supported |
Supported |
Not supported |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.