Updated on 2025-12-17 GMT+08:00

Actions Supported by Identity Policy-based Authorization (DHSM)

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 DHSM, 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 DHSM, 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 DHSM.

Table 1 Actions supported by DHSM

Action

Description

Access Level

Resource Type (*: required)

Condition Key

Alias

dhsm:hsm:list

Grants permission to query hsm list.

List

hsm *

-

-

-

g:EnterpriseProjectId

dhsm:hsm:get

Grants permission to view details about hsm.

Read

hsm *

-

dhsm:hsm:delete

Grants permission to delete hsm.

Write

hsm *

-

dhsm:hsm:updateAlias

Grants permission to change hsm information.

Write

hsm *

-

dhsm:hsm:create

Grants permission to create hsm.

Write

hsm *

-

-

-

g:EnterpriseProjectId

dhsm:hsm:getJobInfo

Grants permission to query details about job.

Read

-

-

-

dhsm:hsm:updateHsm

Grants permission to operate hsm.

Write

hsm *

-

dhsm:cluster:create

Grants permission to create cluster.

Write

cluster *

-

-

dhsm:cluster:update

Grants permission to change cluster.

Write

cluster *

-

-

dhsm:cluster:delete

Grants permission to delete cluster.

Write

cluster *

-

-

dhsm:cluster:list

Grants permission to query cluster list.

List

cluster *

-

-

dhsm:cluster:addVsm

Grants permission to batch add hsm.

Write

cluster *

-

-

dhsm:cluster:getCsr

Grants permission to download a certificate request file.

Read

cluster *

-

-

dhsm:cluster:updateCert

Grants permission to configure certificate.

Write

cluster *

-

-

dhsm:cluster:getCert

Grants permission to view certificate.

Read

cluster *

-

-

dhsm:hsm:listHsmsByTag

Grants permission to query hsm instance.

List

hsm *

-

-

dhsm:hsm:createTags

Grants permission to add hsm tags.

Tagging

hsm *

-

-

dhsm:hsm:createResourceTag

Grants permission to add tags to a hsm.

Tagging

hsm *

-

-

dhsm:hsm:deleteResourceTag

Grants permission to remove tags from a hsm.

Tagging

hsm *

-

-

g:TagKeys

dhsm:hsm:getHsmTags

Grants permission to list hsm tags.

List

hsm *

-

dhsm::listTags

Grants permission to list tags.

List

-

-

-

dhsm::getPreCreatedInfo

Grants permission to query available hsm resources.

Read

-

-

-

dhsm::listChargeSpecCode

Grants permission to query specification codes.

List

-

-

-

dhsm:hsm:createInstallOrder

Grants permission to create install order.

Write

hsm *

-

-

-

g:EnterpriseProjectId

dhsm:hsm:createOrder

Grants permission to create order.

Write

hsm *

-

-

-

g:EnterpriseProjectId

dhsm:hsm:inquiryResource

Grants permission to order Inquiry.

Write

-

-

-

Resources

A resource type indicates the resources that an identity policy applies to. If you specify a resource type for any action in Table 2, 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 DHSM.

Table 2 Resource types supported by DHSM

Resource Type

URN

cluster

dhsm:<region>:<account-id>:cluster:<cluster-id>

hsm

dhsm:<region>:<account-id>:hsm:<hsm-id>

Conditions

DHSM does not support service-specific condition keys in identity policies.It can only use global condition keys applicable to all services. For details, see Global Condition Keys.