Help Center/ Cloud Certificate & Manager/ API Reference/ Permissions and Supported Actions/ Actions Supported by Identity Policy-based Authorization
Updated on 2026-01-07 GMT+08:00

Actions Supported by Identity Policy-based Authorization

IAM provides system-defined identity policies to define typical cloud service permissions. 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 CCM, 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 CCM, 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 CCM.

Table 1 Actions supported by CCM

Action

Description

Access Level

Resource Type (*: required)

Condition Key

Alias

pca:ca:create

Grants permission to create a HUAWEI CLOUD Private CA.

Write

ca *

-

-

-

pca:ca:delete

Grants permission to delete a HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:disable

Grants permission to disable a HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:enable

Grants permission to enable a HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:export

Grants permission to export a HUAWEI CLOUD Private CA certificate.

Read

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:getCsr

Grants permission to export a HUAWEI CLOUD Private CA certificate signing request (CSR).

Read

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:import

Grants permission to import a certificate into HUAWEI CLOUD Private CA for use as the CA certificate of a HUAWEI CLOUD Private CA.

Write

ca *

-

-

-

g:EnterpriseProjectId

pca:ca:activate

Grants permission to activate a HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

pca:ca:active

-

g:EnterpriseProjectId

pca:ca:list

Grants permission to retrieve a list of the HUAWEI CLOUD Private CA.

List

ca *

-

-

-

g:EnterpriseProjectId

pca:ca:restore

Grants permission to restore a HUAWEI CLOUD Private CA from the deleted state to the state it was in when deleted.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:revoke

Grants permission to revoke a HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:get

Grants permission to get the details of a HUAWEI CLOUD Private CA.

Read

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:quota

Grants permission to get the quota of the HUAWEI CLOUD Private CA.

Read

-

-

-

pca:ca:createTag

Grants permission to create or update tag of a HUAWEI CLOUD Private CA.

Tagging

ca *

g:ResourceTag/<tag-key>

-

-

pca:ca:deleteTag

Grants permission to delete tag of a HUAWEI CLOUD Private CA.

Tagging

ca *

g:ResourceTag/<tag-key>

-

-

pca:ca:listTags

Grants permission to list tags of a HUAWEI CLOUD Private CA.

List

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:listAllTags

Grants permission to list tags of a HUAWEI CLOUD Private CA in a domain.

List

ca *

-

-

pca:ca:listByTag

Grants permission to retrieve a list of the HUAWEI CLOUD Private CA by tag.

List

ca *

-

-

-

pca:ca:issueCert

Grants permission to issue a HUAWEI CLOUD Private CA certificate.

Write

ca *

-

-

-

pca:ca:issueCertByCsr

Grants permission to issue a HUAWEI CLOUD Private CA certificate by certificate signing request (CSR).

Write

ca *

-

pca:ca:issueCertThroughCSR

-

pca:cert:delete

Grants permission to delete a certificate issued by a HUAWEI CLOUD Private CA.

Write

-

g:EnterpriseProjectId

-

pca:cert:export

Grants permission to export a certificate issued by a HUAWEI CLOUD Private CA.

Read

-

g:EnterpriseProjectId

-

pca:cert:list

Grants permission to retrieve a list of the certificate issued by the HUAWEI CLOUD Private CA.

List

-

g:EnterpriseProjectId

-

pca:ca:revokeCert

Grants permission to revoke a certificate issued by the HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

pca:cert:revoke

-

g:EnterpriseProjectId

pca:cert:get

Grants permission to get the details of a certificate issued by the HUAWEI CLOUD Private CA.

Read

-

g:EnterpriseProjectId

-

pca:cert:quota

Grants permission to get the quota of the HUAWEI CLOUD Private CA certificate.

Read

-

-

-

pca:cert:createTag

Grants permission to create or update tag of a HUAWEI CLOUD Private CA certificate.

Tagging

-

-

pca:cert:deleteTag

Grants permission to delete tag of a HUAWEI CLOUD Private CA certificate.

Tagging

-

-

pca:cert:listTags

Grants permission to list tags of a HUAWEI CLOUD Private CA certificate.

List

-

g:EnterpriseProjectId

-

pca:cert:listAllTags

Grants permission to list tags of a HUAWEI CLOUD Private CA certificate in a domain.

List

-

-

-

pca:cert:listByTag

Grants permission to retrieve a list of the HUAWEI CLOUD Private CA certificate by tag.

List

-

-

pca:ca:disableCrl

Grants permission to disable publishing certificate revocation list of the HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

pca:ca:enableCrl

Grants permission to enable publishing certificate revocation list of the HUAWEI CLOUD Private CA.

Write

ca *

g:ResourceTag/<tag-key>

-

-

g:EnterpriseProjectId

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

Table 2 Actions and dependencies supported by CCM APIs

API

Action

Dependencies

POST /v1/private-certificate-authorities

pca:ca:create

-

POST /v1/private-certificate-authorities/order

pca:ca:create

-

DELETE /v1/private-certificate-authorities/{ca_id}

pca:ca:delete

-

POST /v1/private-certificate-authorities/{ca_id}/disable

pca:ca:disable

-

POST /v1/private-certificate-authorities/{ca_id}/enable

pca:ca:enable

-

POST /v1/private-certificate-authorities/{ca_id}/export

pca:ca:export

-

GET /v1/private-certificate-authorities/{ca_id}/csr

pca:ca:getCsr

-

POST /v1/private-certificate-authorities/{ca_id}/import

pca:ca:import

-

POST /v1/private-certificate-authorities/{ca_id}/activate

pca:ca:activate

-

GET /v1/private-certificate-authorities

pca:ca:list

-

POST /v1/private-certificate-authorities/{ca_id}/restore

pca:ca:restore

-

POST /v1/private-certificate-authorities/{ca_id}/revoke

pca:ca:revoke

-

GET /v1/private-certificate-authorities/{ca_id}

pca:ca:get

-

GET /v1/private-certificate-authorities/quotas

pca:ca:quota

-

POST /v1/private-certificate-authorities/{ca_id}/tags/create

pca:ca:createTag

-

DELETE /v1/private-certificate-authorities/{ca_id}/tags/delete

pca:ca:deleteTag

-

POST /v1/private-certificate-authorities/{ca_id}/tags

pca:ca:createTag

-

GET /v1/private-certificate-authorities/{ca_id}/tags

pca:ca:listTags

-

GET /v1/private-certificate-authorities/tags

pca:ca:listAllTags

-

POST /v1/private-certificate-authorities/resource-instances/filter

pca:ca:listByTag

-

POST /v1/private-certificates

pca:ca:issueCert

-

POST /v1/private-certificates/csr

pca:ca:issueCertByCsr

-

DELETE /v1/private-certificates/{certificate_id}

pca:cert:delete

-

POST /v1/private-certificates/{certificate_id}/export

pca:cert:export

-

GET /v1/private-certificates

pca:cert:list

-

POST /v1/private-certificates/{certificate_id}/revoke

pca:ca:revokeCert

-

GET /v1/private-certificates/{certificate_id}

pca:cert:get

-

GET /v1/private-certificates/quotas

pca:cert:quota

-

POST /v1/private-certificates/{certificate_id}/tags/create

pca:cert:createTag

-

DELETE /v1/private-certificates/{certificate_id}/tags/delete

pca:cert:deleteTag

-

POST /v1/private-certificates/{certificate_id}/tags

pca:cert:createTag

-

GET /v1/private-certificates/{certificate_id}/tags

pca:cert:listTags

-

GET /v1/private-certificates/tags

pca:cert:listAllTags

-

POST /v1/private-certificates/resource-instances/filter

pca:cert:listByTag

-

POST /v1/private-certificate-authorities/{ca_id}/crl/disable

pca:ca:disableCrl

-

POST /v1/private-certificate-authorities/{ca_id}/crl/enable

pca:ca:enableCrl

-

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 CCM.

Table 3 Resource types supported by CCM

Resource Type

URN

ca

pca:<region>:<account-id>:ca:<ca-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, ccm) 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 CCM

The following table lists the condition keys that you can define in identity policies for CCM. 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 CCM

Service-specific Condition Key

Type

Single-valued/Multivalued

Description

pca:CommonName

string

Single-valued

Filters access based on the common name in the request.