Updated on 2025-11-06 GMT+08:00

Cloud Backup and Recovery (CBR)

IAM provides system-defined identity policies to define common actions supported by cloud services. You can also create custom identity policies using the actions supported by cloud services for more refined access control.

In addition to IAM, the Organizations service also provides Service Control Policies (SCPs) to set access control policies.

SCPs do not actually grant any permissions to an entity. They only set the permissions boundary for the entity. When SCPs are attached to an organizational unit (OU) or a member account, the SCPs do not directly grant permissions to that OU or member account. Instead, the SCPs only determine what permissions are available for that member account or those member accounts under that OU. The granted permissions can be applied only if they are allowed by the SCPs.

To learn more about how IAM is different from Organizations for access control, see How IAM Is Different from Organizations for Access Control?.

This section describes the elements used by IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.

Actions

Actions are specific operations that are allowed or denied in an identity policy.

  • The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an identity policy.
  • The Resource Type column indicates whether the action supports resource-level permissions.
    • You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your identity policy statements.
    • If this column includes a resource type, you must specify the URN in the Resource element of your identity policy statements.
    • Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.

    For details about the resource types defined by CBR, see Resources.

  • The Condition Key column contains keys that you can specify in the Condition element of an identity policy statement.
    • If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
    • If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
    • If the Condition Key column is empty (-) for an action, the action does not support any condition keys.

    For details about the condition keys defined by CBR, see Conditions.

  • The Alias column lists the policy actions that are configured in identity policies. With these actions, you can use APIs for policy-based authorization. For details, see Policies and Identity Policies.

The following table lists the actions that you can define in identity policy statements for CBR.

Table 1 Actions supported by CBR

Action

Description

Access Level

Resource Type (*: required)

Condition Key

Alias

cbr:tasks:list

Grants permission to query task list.

List

task *

-

-

-

g:EnterpriseProjectId

cbr:tasks:get

Grants permission to query a task.

Read

task *

g:EnterpriseProjectId

-

cbr:member:create

Grants permission to add backup member.

Permission_management

backup *

g:EnterpriseProjectId

-

-

cbr:TargetOrgPaths

cbr:member:update

Grants permission to update backup member status.

Write

backup *

g:EnterpriseProjectId

-

cbr:member:get

Grants permission to get backup member details.

Read

backup *

g:EnterpriseProjectId

-

cbr:member:list

Grants permission to list backup members.

List

backup *

-

-

cbr:member:delete

Grants permission to delete backup member.

Permission_management

backup *

g:EnterpriseProjectId

-

cbr:vaults:showCheckpoint

Grants permission to get checkpoint.

Read

-

-

-

cbr:vaults:showSummary

Grants permission to show vault summary.

List

-

-

-

cbr:vaults:replicate

Grants permission to replicate checkpoint.

Write

vault *

-

cbr:vaults:backup

Grants permission to create checkpoint.

Write

vault *

-

cbr:vaults:sync

Grants permission to sync checkpoint.

Write

vault *

-

cbr:vaults:create

Grants permission to create vault.

Write

vault *

-

-

-

cbr:vaults:get

Grants permission to get vault.

Read

vault *

-

cbr:vaults:list

Grants permission to list vaults.

List

vault *

-

-

-

g:EnterpriseProjectId

cbr:vaults:update

Grants permission to modify vault.

Write

vault *

-

cbr:vaults:delete

Grants permission to delete vault.

Write

vault *

-

cbr:vaults:removeResources

Grants permission to remove resources.

Write

vault *

-

cbr:vaults:addResources

Grants permission to add resources.

Write

vault *

-

cbr:vaults:setResources

Grants permission to set resources.

Write

vault *

-

cbr:vaults:associatePolicy

Grants permission to associate policy.

Write

vault *

-

cbr:vaults:dissociatePolicy

Grants permission to dissociate policy.

Write

vault *

-

cbr:vaults:listExternalVaults

Grants permission to list external vaults.

List

vault *

-

-

cbr:vaults:migrateResources

Grants permission to migrate resources.

Write

vault *

-

cbr:backups:sync

Grants permission to sync backups.

Write

vault *

g:EnterpriseProjectId

-

cbr:backups:get

Grants permission to get backup.

Read

backup *

g:EnterpriseProjectId

-

cbr:backups:showMetadata

Grants permission to get backup metadata.

Read

backup *

g:EnterpriseProjectId

-

cbr:backups:list

Grants permission to list backups.

List

backup *

-

-

-

g:EnterpriseProjectId

cbr:backups:delete

Grants permission to delete backup.

Write

backup *

g:EnterpriseProjectId

-

cbr:backups:replicate

Grants permission to replicate backup.

Write

backup *

g:EnterpriseProjectId

-

cbr:backups:restore

Grants permission to restore backup.

Write

backup *

g:EnterpriseProjectId

-

cbr:backups:update

Grants permission to update backup.

Write

backup *

g:EnterpriseProjectId

-

cbr:policies:list

Grants permission to list policies.

List

policy *

-

-

cbr:policies:create

Grants permission to create policy.

Write

policy *

-

-

-

cbr:EnabledPolicy

cbr:policies:get

Grants permission to get policy.

Read

policy *

-

-

cbr:policies:update

Grants permission to modify policy.

Write

policy *

-

-

-

cbr:EnabledPolicy

cbr:policies:delete

Grants permission to delete policy.

Write

policy *

-

-

cbr:vaults:listProtectables

Grants permission to list protectables.

List

-

g:EnterpriseProjectId

-

cbr:vaults:getProtectables

Grants permission to get protectable.

Read

-

-

-

cbr:backups:queryReplicationCapability

Grants permission to query replication capability.

List

-

-

-

cbr:backups:checkAgent

Grants permission to check agent status.

Read

-

-

-

cbr:vaults:listResourceInstances

Grants permission to list resource instances.

List

vault *

-

-

cbr:vaults:bulkCreateOrDeleteTags

Grants permission to bulk create or delete tags of a vault.

Write

vault *

g:ResourceTag/<tag-key>

-

-

cbr:vaults:setTags

Grants permission to set tags of a vault.

Write

vault *

g:ResourceTag/<tag-key>

-

-

cbr:vaults:deleteTags

Grants permission to delete tags of a vault.

Write

vault *

g:ResourceTag/<tag-key>

-

-

g:TagKeys

cbr:vaults:getTags

Grants permission to get tags of a vault.

Read

vault *

g:ResourceTag/<tag-key>

-

cbr:vaults:listProjectTags

Grants permission to list resource instances.

List

vault *

-

-

cbr:backups:listStorageUsage

Grants permission to list storage usage.

List

-

-

-

cbr:vaults:updateOrder

Grants permission to update order.

Write

vault *

-

cbr:agents:addPath

Grants permission to add path.

Write

agent *

-

-

cbr:agents:get

Grants permission to get agent.

Read

agent *

-

-

cbr:agents:update

Grants permission to update agent.

Write

agent *

-

-

cbr:agents:register

Grants permission to register agent.

Write

agent *

-

-

cbr:agents:delete

Grants permission to delete agent.

Write

agent *

-

-

cbr:agents:removePath

Grants permission to remove path.

Write

agent *

-

-

cbr:agents:list

Grants permission to list agents.

List

agent *

-

-

cbr:backups:migratesCreate

Grants permission to migrates.

Write

-

-

-

cbr:backups:migratesIndex

Grants permission to get migrates.

Read

-

-

-

cbr:organizationPolicies:create

Grants permission to create organization Policies.

Write

-

-

-

cbr:organizationPolicies:listPolicyDetail

Grants permission to get organization policy detail.

Read

-

-

-

cbr:organizationPolicies:delete

Grants permission to delete organization policy.

Write

-

-

-

cbr:organizationPolicies:update

Grants permission to modify organization policy.

Write

-

-

-

cbr:organizationPolicies:list

Grants permission to list organization policies.

List

-

-

-

cbr:organizationPolicies:get

Grants permission to get organization policy.

Read

-

-

-

Each API of CBR usually supports one or more actions. Table 2 lists the supported actions and dependencies.

Table 2 Actions and dependencies supported by CBR APIs

API

Action

Dependencies

GET /v3/{project_id}/operation-logs

cbr:tasks:list

-

GET /v3/{project_id}/operation-logs/{operation_log_id}

cbr:tasks:get

-

POST /v3/{project_id}/backups/{backup_id}/members

cbr:member:create

-

PUT /v3/{project_id}/backups/{backup_id}/members/{member_id}

cbr:member:update

-

GET /v3/{project_id}/backups/{backup_id}/members/{member_id}

cbr:member:get

-

GET /v3/{project_id}/backups/{backup_id}/members

cbr:member:list

-

DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id}

cbr:member:delete

-

GET /v3/{project_id}/checkpoints/{checkpoint_id}

cbr:vaults:showCheckpoint

-

GET /v3/{project_id}/vaults/summary

cbr:vaults:showSummary

-

POST /v3/{project_id}/checkpoints/replicate

cbr:vaults:replicate

-

POST /v3/{project_id}/checkpoints

cbr:vaults:backup

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

POST /v3/{project_id}/checkpoints/sync

cbr:vaults:sync

-

POST /v3/{project_id}/vaults

cbr:vaults:create

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

POST /v3/{project_id}/vaults/order

cbr:vaults:create

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

GET /v3/{project_id}/vaults/{vault_id}

cbr:vaults:get

-

GET /v3/{project_id}/vaults

cbr:vaults:list

-

PUT /v3/{project_id}/vaults/{vault_id}

cbr:vaults:update

-

PUT /v3/{project_id}/vaults/batch-update

cbr:vaults:update

-

DELETE /v3/{project_id}/vaults/{vault_id}

cbr:vaults:delete

-

POST /v3/{project_id}/vaults/{vault_id}/removeresources

cbr:vaults:removeResources

-

POST /v3/{project_id}/vaults/{vault_id}/addresources

cbr:vaults:addResources

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

PUT /v3/{project_id}/vaults/{vault_id}/set-resources

cbr:vaults:setResources

-

POST /v3/{project_id}/vaults/{vault_id}/associatepolicy

cbr:vaults:associatePolicy

-

POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicy

cbr:vaults:dissociatePolicy

-

GET /v3/{project_id}/vaults/external

cbr:vaults:listExternalVaults

-

POST /v3/{project_id}/vaults/{vault_id}/migrateresources

cbr:vaults:migrateResources

-

POST /v3/{project_id}/backups/sync

cbr:backups:sync

-

GET /v3/{project_id}/backups/{backup_id}

cbr:backups:get

-

GET /v3/{project_id}/backups/{backup_id}/metadata

cbr:backups:showMetadata

-

GET /v3/{project_id}/backups

cbr:backups:list

-

DELETE /v3/{project_id}/backups/{backup_id}

cbr:backups:delete

-

POST /v3/{project_id}/backups/{backup_id}/replicate

cbr:backups:replicate

-

POST /v3/{project_id}/backups/{backup_id}/restore

cbr:backups:restore

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

PUT /v3/{project_id}/backups/{backup_id}

cbr:backups:update

-

GET /v3/{project_id}/policies

cbr:policies:list

-

POST /v3/{project_id}/policies

cbr:policies:create

-

GET /v3/{project_id}/policies/{policy_id}

cbr:policies:get

-

PUT /v3/{project_id}/policies/{policy_id}

cbr:policies:update

-

DELETE /v3/{project_id}/policies/{policy_id}

cbr:policies:delete

-

GET /v3/{project_id}/protectables/{protectable_type}/instances

cbr:vaults:listProtectables

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

GET /v3/{project_id}/protectables/{protectable_type}/instances/{instance_id}

cbr:vaults:getProtectables

  • ecs:cloudServers:listServersDetails
  • evs:volumes:list

GET /v3/{project_id}/replication-capabilities

cbr:backups:queryReplicationCapability

-

POST /v3/{project_id}/agent/check

cbr:backups:checkAgent

-

POST /v3/{project_id}/vault/resource_instances/action

cbr:vaults:listResourceInstances

-

POST /v3/{project_id}/vault/{vault_id}/tags/action

cbr:vaults:bulkCreateOrDeleteTags

-

POST /v3/{project_id}/vault/{vault_id}/tags

cbr:vaults:setTags

-

DELETE /v3/{project_id}/vault/{vault_id}/tags/{key}

cbr:vaults:deleteTags

-

GET /v3/{project_id}/vault/{vault_id}/tags

cbr:vaults:getTags

-

GET /v3/{project_id}/vault/tags

cbr:vaults:listProjectTags

-

GET /v3/{project_id}/storage_usage

cbr:backups:listStorageUsage

-

PUT /v3/{project_id}/orders/{order_id}

cbr:vaults:updateOrder

-

POST /v3/{project_id}/agents/{agent_id}/add-path

cbr:agents:addPath

-

GET /v3/{project_id}/agents/{agent_id}

cbr:agents:get

-

PUT /v3/{project_id}/agents/{agent_id}

cbr:agents:update

-

POST /v3/{project_id}/agents

cbr:agents:register

-

DELETE /v3/{project_id}/agents/{agent_id}

cbr:agents:delete

-

POST /v3/{project_id}/agents/{agent_id}/remove-path

cbr:agents:removePath

-

GET /v3/{project_id}/agents

cbr:agents:list

-

POST /v3/migrates

cbr:backups:migratesCreate

-

GET /v3/migrates

cbr:backups:migratesIndex

-

POST /v3/{project_id}/organization-policies

cbr:organizationPolicies:create

-

GET /v3/{project_id}/organization-policies/{organization_policy_id}/policy-detail

cbr:organizationPolicies:listPolicyDetail

-

DELETE /v3/{project_id}/organization-policies/{organization_policy_id}

cbr:organizationPolicies:delete

-

PUT /v3/{project_id}/organization-policies/{organization_policy_id}

cbr:organizationPolicies:update

-

GET /v3/{project_id}/organization-policies

cbr:organizationPolicies:list

-

GET /v3/{project_id}/organization-policies/{organization_policy_id}

cbr:organizationPolicies:get

-

Resources

A resource type indicates the resources that an identity policy applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the identity policy statements using that action, and the identity policy applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the identity policy applies to all resources. You can also set condition keys in an identity policy to define resource types.

The following table lists the resource types that you can define in identity policy statements for CBR.

Table 3 Resource types supported by CBR

Resource Type

URN

vault

cbr:<region>:<account-id>:vault:<vault-id>

policy

cbr:<region>:<account-id>:policy:<policy-id>

task

cbr:<region>:<account-id>:task:<task-id>

backup

cbr:<region>:<account-id>:backup:<backup-id>

agent

cbr:<region>:<account-id>:agent:<agent-id>

Conditions

Condition Key Overview

A Condition element lets you specify conditions for when an identity policy is in effect. It contains condition keys and operators.

  • The condition key that you specify can be a global condition key or a service-specific condition key.
    • Global condition keys (with the g: prefix) apply to all actions. Cloud services do not need to provide user identity information. Instead, the system automatically obtains such information and authenticates users. For details, see Global Condition Keys.
    • Service-specific condition keys (with the abbreviation of a service name plus a colon as the prefix, for example, cbr) apply only to operations of the xx service. For details, see Table 4.
    • The number of values associated with a condition key in the request context of an API call makes the condition key single-valued or multivalued. Single-valued condition keys have at most one value in the request context of an API call. Multivalued condition keys can have multiple values in the request context of an API call. For example, a request can originate from at most one VPC endpoint, so g:SourceVpce is a single-valued condition key. You can tag resources and include multiple tag key-value pairs in a request, so g:TagKeys is a multivalued condition key.
  • A condition operator, condition key, and a condition value together constitute a complete condition statement. An identity policy can be applied only when its request conditions are met. For supported condition operators, see operators.

Service-specific condition keys supported by CBR

The following table lists the condition keys that you can define in identity policies for CBR. You can include these condition keys to specify conditions for when your identity policy is in effect.

Table 4 Service-specific condition keys supported by CBR

Service-specific Condition Key

Type

Single-valued/Multivalued

Description

cbr:TargetOrgPaths

string

Single-valued

Filters access destination project's organization path of add member.

cbr:VaultId

string

Single-valued

Filters access based on the vault ID in the request.

cbr:PolicyId

string

Single-valued

Filters access based on the policy ID in the request.

cbr:EnabledPolicy

boolean

Single-valued

Filters access by whether the policy is enabled.