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.
- For details about how to use these elements to edit an IAM custom identity policy, see Creating a Custom Identity Policy.
- For details about how to use these elements to edit a custom SCP, see Creating an SCP.
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 SCM, 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 SCM, 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 SCM.
|
Action |
Description |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
|---|---|---|---|---|---|
|
scm:cert:subscribe |
Grants permission to subscribe certificates. |
Write |
cert * |
- |
scm:cert:purchase |
|
- |
|||||
|
scm:cert:update |
Grants permission to update certificates. |
Write |
cert * |
scm:cert:edit |
|
|
- |
|||||
|
scm:cert:delete |
Grants permission to delete certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:apply |
Grants permission to apply certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:revoke |
Grants permission to revoke certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:cancel |
Grants permission to cancel certificate request. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:reissue |
Grants permission to reissue certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:push |
Grants permission to push certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:import |
Grants permission to import certificates. |
Write |
cert * |
- |
scm:cert:upload |
|
- |
|||||
|
scm:cert:export |
Grants permission to export certificates. |
Read |
cert * |
scm:cert:download |
|
|
- |
|||||
|
scm:cert:upload |
Grants permission to upload certificates. |
Write |
cert * |
- |
- |
|
- |
|||||
|
scm:cert:download |
Grants permission to download certificates. |
Read |
cert * |
- |
|
|
- |
|||||
|
scm:cert:save |
Grants permission to complete certificates. |
Write |
cert * |
scm:cert:complete |
|
|
- |
|||||
|
scm:cert:addDomain |
Grants permission to add domain. |
Write |
cert * |
scm:cert:supplement |
|
|
- |
|||||
|
scm:cert:expandQuota |
Grants permission to expand certificate quota. |
Write |
- |
- |
|
|
scm:cert:renew |
Grants permission to renew certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:unsubscribe |
Grants permission to unsubscribe certificates. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:autoRenew |
Grants permission to enable automatic certificate renewal. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:list |
Grants permission to list the certificates. |
List |
cert * |
- |
- |
|
- |
|||||
|
scm:cert:get |
Grants permission to get the details of a certificate. |
Read |
cert * |
- |
|
|
- |
|||||
|
scm:cert:getApplicationInfo |
Grants permission to get the completed information of a certificate. |
Read |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listPushHistory |
Grants permission to list the push histories of a certificate. |
List |
cert * |
scm:pushHistory:list |
|
|
- |
|||||
|
scm:cert:getDomainValidation |
Grants permission to get the domain validation of a certificate. |
Read |
cert * |
- |
|
|
- |
|||||
|
scm:cert:checkDomain |
Grants permission to validate domain of DV certificate. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listDeployedResources |
Grants permission to get deployed resources of a certificate. |
List |
cert * |
scm:cert:deployed |
|
|
- |
|||||
|
scm:cert:deletePrivacyAuthorization |
Grants permission to delete privacy authorization of a certificate. |
Write |
cert * |
scm:privacyProtection:delete |
|
|
- |
|||||
|
scm:cert:enableAutoDeploy |
Grants permission to deploy Certificates automatically. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listAutoDeployedResources |
Grants permission to list automatically deployed certificates. |
List |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listCertificatesByTag |
Grants permission to list the certificates by tag. |
List |
cert * |
- |
- |
|
- |
|||||
|
scm:cert:createTag |
Grants permission to create or update tags. |
Tagging |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listTagsByCertificate |
Grants permission to lists the tags that have been associated with a certificate. |
List |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listAllTags |
Grants permission to list all tags. |
List |
cert * |
- |
- |
|
scm:cert:seekHelp |
Grants permission to send help emails. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:uploadAuthentication |
Grants permission to upload authentications. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm::createCsr |
Grants permission to create certificate signing request (CSR). |
Write |
- |
- |
- |
|
scm::listCsr |
Grants permission to retrieve a list of the certificate signing request (CSR). |
List |
- |
- |
- |
|
scm::getCsr |
Grants permission to get the details of the certificate signing request (CSR). |
Read |
- |
- |
- |
|
scm::getCsrPrivateKey |
Grants permission to get the private key of the certificate signing request (CSR). |
Read |
- |
- |
- |
|
scm::updateCsr |
Grants permission to update certificate signing request (CSR). |
Write |
- |
- |
- |
|
scm::deleteCsr |
Grants permission to delete a certificate signing request (CSR). |
Write |
- |
- |
- |
|
scm::uploadCsr |
Grants permission to upload a certificate signing request (CSR). |
Write |
- |
- |
- |
|
scm::createDomainMonitor |
Grants permission to create a domain that need to be monitored. |
Write |
- |
- |
- |
|
scm::updateDomainMonitor |
Grants permission to update a domain that need to be monitored. |
Write |
- |
- |
- |
|
scm::updateDomainMonitorSwitch |
Grants permission to enable or disable the monitoring switch of a domain. |
Write |
- |
- |
- |
|
scm::deleteDomainMonitor |
Grants permission to delete a domain that need to be monitored. |
Write |
- |
- |
- |
|
scm::getDomainMonitor |
Grants permission to get the details of the domain that need to be monitored. |
Read |
- |
- |
- |
|
scm::listDomainMonitors |
Grants permission to retrieve a list of the domain that need to be monitored. |
List |
- |
- |
- |
|
scm::getValidation |
Grants permission to verify the legitimacy. |
Read |
- |
- |
- |
|
scm::listExternalResources |
Grants permission to obtain external resources. |
Read |
cert * |
- |
|
|
- |
|||||
|
scm:cert:operateNotification |
Grants permission to operate the notification of certificate. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm::orderDomainMonitor |
Grants permission to order quota of the domain that need to be monitored. |
Write |
- |
- |
- |
|
scm:cert:deployResources |
Grants permission to deploy the certificate to other service resources. |
Write |
cert * |
- |
|
|
- |
|||||
|
scm:cert:listDeployResourcesHistory |
Grants permission to list the deploy histories of a certificate. |
List |
cert * |
- |
|
|
- |
|||||
|
scm:cert:getDeployQuota |
Grants permission to obtain deployment quotas of a certificate. |
Read |
cert * |
- |
|
|
- |
|||||
|
scm:cert:importPrivateKey |
Grants permission to import private key of certificate. |
Write |
cert * |
- |
Each API of SCM usually supports one or more actions. Table 2 lists the supported actions and dependencies.
|
API |
Action |
Dependencies |
|---|---|---|
|
scm:cert:list |
- |
|
|
scm:cert:import |
- |
|
|
scm:cert:get |
- |
|
|
scm:cert:export |
- |
|
|
scm:cert:push |
- |
|
|
scm:cert:push |
- |
|
|
scm:cert:delete |
- |
|
|
- |
scm:cert:reissue |
- |
|
scm:cert:apply |
- |
|
|
- |
scm:cert:revoke |
- |
|
scm:cert:cancel |
- |
|
|
- |
scm:cert:save |
- |
|
- |
scm:cert:update |
- |
|
- |
scm:cert:addDomain |
- |
|
- |
scm:cert:upload |
- |
|
- |
scm:cert:download |
- |
|
- |
scm:cert:list |
- |
|
- |
scm:cert:get |
- |
|
- |
scm:cert:getApplicationInfo |
- |
|
- |
scm:cert:listPushHistory |
- |
|
- |
scm:cert:getDomainValidation |
- |
|
- |
scm:cert:checkDomain |
- |
|
scm:cert:listDeployedResources |
- |
|
|
- |
scm:cert:deletePrivacyAuthorization |
- |
|
- |
scm:cert:enableAutoDeploy |
- |
|
- |
scm:cert:listAutoDeployedResources |
- |
|
scm:cert:listCertificatesByTag |
- |
|
|
scm:cert:createTag |
- |
|
|
scm:cert:createTag |
- |
|
|
scm:cert:listTagsByCertificate |
- |
|
|
scm:cert:listAllTags |
- |
|
|
scm:cert:subscribe |
- |
|
|
- |
scm:cert:expandQuota |
- |
|
- |
scm:cert:renew |
- |
|
scm:cert:unsubscribe |
- |
|
|
- |
scm:cert:autoRenew |
- |
|
- |
scm:cert:seekHelp |
- |
|
- |
scm:cert:uploadAuthentication |
- |
|
scm::createCsr |
- |
|
|
scm::listCsr |
- |
|
|
scm::getCsr |
- |
|
|
scm::getCsrPrivateKey |
- |
|
|
scm::updateCsr |
- |
|
|
scm::deleteCsr |
- |
|
|
scm::uploadCsr |
- |
|
|
- |
scm::createDomainMonitor |
- |
|
- |
scm::updateDomainMonitor |
- |
|
- |
scm::updateDomainMonitorSwitch |
- |
|
- |
scm::deleteDomainMonitor |
- |
|
- |
scm::getDomainMonitor |
- |
|
- |
scm::listDomainMonitors |
- |
|
- |
scm:cert:operateNotification |
- |
|
- |
scm:cert:operateNotification |
- |
|
- |
scm::orderDomainMonitor |
- |
|
- |
scm::orderDomainMonitor |
- |
|
scm:cert:deployResources |
- |
|
|
- |
scm:cert:listDeployResourcesHistory |
- |
|
- |
scm:cert:getDeployQuota |
- |
|
- |
scm:cert:importPrivateKey |
- |
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 SCM.
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, scm) 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 SCM
The following table lists the condition keys that you can define in identity policies for SCM. You can include these condition keys to specify conditions for when your identity policy is in effect.
|
Service-specific Condition Key |
Type |
Single-valued/Multivalued |
Description |
|---|---|---|---|
|
scm:DomainNames |
string |
Multivalued |
Filters access based on the domain name in the request. |
|
scm:ValidationMethod |
string |
Single-valued |
Filters access based on the validation method in the request. |
|
scm:KeyAlgorithm |
string |
Single-valued |
Filters access based on the key algorithm in the request. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot