RAM authorization

Updated at:

Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. Using RAM helps you avoid sharing your Alibaba Cloud account keys with other users and allows you to grant users the least privilege access. RAM uses permission policies to define authorizations. This topic describes the actions, resources, and conditions that Domain Names and Websites defines for RAM permission policies. The RamCode of Domain Names and Websites is domain , and the supported authorization granularity is RESOURCE . For the resource authorization scope of each action, see the Action table.

General structure of a policy

Permission policies support the JSON format. The following example shows the structure of a policy that uses the Action element. Values in angle brackets (<>) are placeholders. Replace them with actual values.

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}        

The following list describes the fields and placeholders in the policy:

  • Effect: Specifies the authorization result. Valid values: Allow and Deny.

  • Action: Specifies one or more operations that are allowed or denied.

  • Resource: Specifies the specific objects affected by the operations. You can use Alibaba Cloud Resource Names (ARNs) to describe specific resources.

  • Condition: Specifies the conditions for the authorization to take effect. This field is optional.

  • Condition operator: Specifies the conditional operators. Different types of conditions support different conditional operators.

  • Condition_key: Specifies the condition keys.

  • Condition_value: Specifies the condition values.

Action

The following table lists the RAM actions defined by Domain Names and Websites. These actions can be used in the Action element of RAM permission policies.

  • Action: A specific RAM permission point. In most cases, it has the same name as the corresponding OpenAPI.

  • OpenAPI: The OpenAPI associated with the RAM action.

  • Access level: Write, Read, List, or Other.

  • Resource type: The types of resources for which the action supports authorization. Details are as follows:

    • Required resource types are prefixed with an asterisk (*). Specify the corresponding ARN in the Resource element of the policy.

    • When 'All Resources' is displayed and the resource ARN is *, set Resource in the policy to *.

  • Condition key: The product-level condition keys supported by the action. Common condition keys are not included. For more information, see Common condition keys.

  • Dependent action: Other action permissions required to perform the action.

Action

OpenAPI

Access level

Resource type

Condition key

Dependent action

domain:CreateOrderRedeem SaveBatchTaskForCreatingOrderRedeem update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryRegistrantProfile QueryRegistrantProfileRealNameVerificationInfo get

*All Resource

*

None None
domain:DomainInfoModification SaveTaskForUpdatingRegistrantInfoByRegistrantProfileID update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryEmailVerification ListEmailVerification get

*All Resource

*

None None
domain:ListServerLock ListServerLock get

*All Resource

*

None None
domain:QueryOperationAuditInfoDetail QueryOperationAuditInfoDetail get

*All Resource

*

None None
domain:QueryDomainTransferOut QueryTransferOutInfo get

*All Resource

*

None None
domain:DomainInfoModification SaveTaskForUpdatingRegistrantInfoByIdentityCredential update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryChangeLog QueryChangeLogList get

*All Resource

*

None None
domain:QueryCommonInfo QueryDomainByDomainName get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryCommonInfo QueryDomainSuffix get

*All Resource

*

None None
domain:QueryDomainTask QueryTaskDetailHistory get

*All Resource

*

None None
domain:QueryEmailVerification QueryEmailVerification get

*All Resource

*

None None
domain:DnsSecSetting SaveSingleTaskForAddingDSRecord create

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryRegistrantProfile QueryFailReasonForRegistrantProfileRealNameVerification list

*All Resource

*

None None
domain:SaveArtExtension SaveSingleTaskForSaveArtExtension update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:DnsSecSetting SaveSingleTaskForSynchronizingDSRecord update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:RealNameVerificationOperation SaveTaskForSubmittingDomainRealNameVerificationByRegistrantProfileID update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:SetDefaultRegistrantProfile SetDefaultRegistrantProfile

*All Resource

*

None None
domain:CancelTask CancelTask delete

*All Resource

*

None None
domain:DomainTransferInOperation SaveSingleTaskForCancelingTransferIn delete

*All Resource

*

None None
domain:QueryDomainTask QueryTaskInfoHistory get

*All Resource

*

None None
domain:QueryDnsHost QueryDnsHost get

*All Resource

*

None None
domain:EmailVerificationOperation ResendEmailVerification update

*All Resource

*

None None
domain:ResetQualificationAudit ResetQualificationVerification

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:DnsHostModification SaveSingleTaskForCreatingDnsHost create

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:RegistrantProfileOperation RegistrantProfileRealNameVerification

*All Resource

*

None None
domain:EnsSetting SaveSingleTaskForDisassociatingEns update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:CreateOrderActivate SaveBatchTaskForReserveDropListDomain none

*All Resource

*

None None
domain:CreateOrderRenew SaveSingleTaskForCreatingOrderRenew update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:SecuritySetting SaveSingleTaskForTransferProhibitionLock update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryCommonInfo QueryAdvancedDomainList get

*All Resource

*

None None
domain:DomainGroupOperation SaveDomainGroup update

*All Resource

*

None None
domain:QueryRealNameVerification QueryDomainRealNameVerificationInfo get

*All Resource

*

None None
domain:QueryCommonInfo ScrollDomainList get

*All Resource

*

None None
domain:VerifyEmail VerifyEmail update

*All Resource

*

None None
domain:RealNameVerificationOperation CancelDomainVerification update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:RegistrantProfileOperation SaveRegistrantProfile

*All Resource

*

None None
domain:CancelQualificationVerification CancelQualificationVerification

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:DomainInfoModification SaveBatchTaskForUpdatingContactInfoByRegistrantProfileId update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDomain CheckDomainSunriseClaim get

*All Resource

*

None None
domain:QueryDomain CheckDomain get

*All Resource

*

None None
domain:DomainKnowledgeRetrieve DomainKnowledgeRetrieve get

*All Resource

*

None None
domain:DomainTransferOutOperation SaveSingleTaskForQueryingTransferAuthorizationCode update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryServerLock QueryServerLock get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryRealNameVerification QueryFailReasonForDomainRealNameVerification get

*All Resource

*

None None
domain:QueryDomain LookupTmchNotice get

*All Resource

*

None None
domain:QueryMaxYearOfServerLock CheckMaxYearOfServerLock get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:DnsHostModification SaveSingleTaskForDeletingDnsHost delete

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDomainTransferIn QueryTransferInByInstanceId get

*All Resource

*

None None
domain:DomainInfoModification SaveSingleTaskForUpdatingContactInfo update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryArtExtension QueryArtExtension get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDSRecord QueryDSRecord get

*All Resource

*

None None
domain:EmailVerificationOperation DeleteEmailVerification delete

*All Resource

*

None None
domain:ListOperationAuditInfos QueryOperationAuditInfoList list

*All Resource

*

None None
domain:RealNameVerificationOperation SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDomain FuzzyMatchDomainSensitiveWord get

*All Resource

*

None None
domain:DnsModification SaveBatchTaskForModifyingDomainDns update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryFailingReasonList QueryFailingReasonListForQualification list

*All Resource

*

None None
domain:DnsSecSetting SaveSingleTaskForModifyingDSRecord update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:SubmitOperationAuditInfo SubmitOperationAuditInfo

*All Resource

*

None None
domain:QueryCommonInfo VerifyContactField get

*All Resource

*

None None
domain:EmailVerificationOperation SubmitEmailVerification update

*All Resource

*

None None
domain:CreateOrderActivate SaveSingleTaskForCreatingOrderActivate create

*All Resource

*

None None
domain:DomainTransferOutOperation SaveSingleTaskForApplyQuickTransferOutOpenly update

*All Resource

*

None None
domain:DnsHostModification SaveSingleTaskForModifyingDnsHost update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:EnsSetting SaveSingleTaskForAssociatingEns update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:RegistrantProfileOperation DeleteRegistrantProfile

*All Resource

*

None None
domain:SecuritySetting SaveSingleTaskForUpdateProhibitionLock update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDomain BatchFuzzyMatchDomainSensitiveWord get

*All Resource

*

None None
domain:DomainTransferOutOperation SaveBatchTaskForApplyQuickTransferOutOpenly none

*All Resource

*

None None
domain:SecuritySetting SaveBatchTaskForUpdateProhibitionLock update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:ConfirmTransferInEmail ConfirmTransferInEmail update

*All Resource

*

None None
domain:CheckProcessingServerLockApply CheckProcessingServerLockApply get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryEnsAssociation QueryEnsAssociation get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:SaveTaskForSubmittingDomainDelete SaveTaskForSubmittingDomainDelete delete

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:CreateOrderTransfer SaveBatchTaskForCreatingOrderTransfer create

*All Resource

*

None None
domain:DomainGroupOperation DeleteDomainGroup delete

*All Resource

*

None None
domain:DomainTransferOutOperation SaveSingleTaskForCancelingTransferOut delete

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryRegistrantProfile QueryRegistrantProfiles list

*All Resource

*

None None
domain:AcknowledgeTaskResult AcknowledgeTaskResult update

*All Resource

*

None None
domain:QueryEnsAssociation QueryLocalEnsAssociation get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryCommonInfo QueryDomainByInstanceId get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:CreateOrderRenew SaveBatchTaskForCreatingOrderRenew update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:DomainInfoModification SaveBatchDomainRemark update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:DnsHostModification SaveSingleTaskForSynchronizingDnsHost update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:CreateOrderActivate SaveBatchTaskForCreatingOrderActivate create

*All Resource

*

None None
domain:DomainGroupOperation UpdateDomainToDomainGroup update

*All Resource

*

None None
domain:UploadPolicyForQualification GetQualificationUploadPolicy get

*All Resource

*

None None
domain:DomainTransferOutOperation SaveBatchTaskForTransferOutByAuthorizationCode none

*All Resource

*

None None
domain:QueryCommonInfo QueryContactInfo get

*All Resource

*

None None
domain:CreateOrderRedeem SaveSingleTaskForCreatingOrderRedeem update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:CreateOrderTransfer SaveSingleTaskForCreatingOrderTransfer create

*All Resource

*

None None
domain:QueryCommonInfo QueryDomainList get

*All Resource

*

None None
domain:DomainTransferOutOperation SaveSingleTaskForTransferOutByAuthorizationCode none

*All Resource

*

None None
domain:CancelOperationAudit CancelOperationAudit

*All Resource

*

None None
domain:QueryDomainTransferIn CheckTransferInFeasibility get

*All Resource

*

None None
domain:QueryDomainGroup QueryDomainGroupList get

*All Resource

*

None None
domain:DomainTransferInOperation TransferInReenterTransferAuthorizationCode update

*All Resource

*

None None
domain:DeleteContactTemplates DeleteContactTemplates

*All Resource

*

None None
domain:QueryDomainTask QueryTaskList get

*All Resource

*

None None
domain:SecuritySetting SaveBatchTaskForTransferProhibitionLock update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDomainTransferIn QueryTransferInList get

*All Resource

*

None None
domain:SetupDomainAutoRenew SetupDomainAutoRenew update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryDomainTask PollTaskResult get

*All Resource

*

None None
domain:DnsSecSetting SaveSingleTaskForDeletingDSRecord delete

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:SubmitOperationCredentials SubmitOperationCredentials

*All Resource

*

None None
domain:UploadPolicyForCredential GetOperationOssUploadPolicy get

*All Resource

*

None None
domain:QueryDomainTask QueryTaskDetailList get

*All Resource

*

None None
domain:DomainInfoModification SaveBatchTaskForUpdatingContactInfoByNewContact update

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:SaveRegistrantProfileRealNameVerification SaveRegistrantProfileRealNameVerification

*All Resource

*

None None
domain:ChangeResourceGroup ChangeResourceGroup

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryQualificationDetail QueryQualificationDetail get

*Domain

acs:domain:*:{#accountId}:domain/{#DomainName}

None None
domain:QueryCommonInfo QueryDomainAdminDivision list

*All Resource

*

None None

Resource

The following table lists the resource types and ARN formats defined by Domain Names and Websites. The Resource element of RAM policy statements specifies the resources to which the statement applies. Notes:

  • In an ARN, {#} indicates a variable that you must replace with an actual value. For example, replace {#ramcode} with the actual RAM code of the cloud service.

  • In an ARN, * means all. For example:

    • {#resourceType}/*: All resources.

    • When {#regionId} is *, all regions are included.

    • When {#accountId} is set to *, it specifies all Alibaba Cloud accounts.

Resource type

ARN

Domain
  • acs:domain:*:{#accountId}:domain/{#DomainName}

Condition

Domain Names and Websites does not define product-level condition keys. However, you can use Alibaba Cloud common condition keys for access control. For more information, see Common condition keys.

References

For information about conditional operators, custom policies, and authorization operations, see the following documents: