当您使用资源组对资源进行分组管理时,可以结合访问控制(RAM),在单个阿里云账号内实现资源的隔离和精细化权限管理。本文总结了域名对资源组的支持情况,以及资源组级别的授权操作步骤。
-
只有支持资源组的资源类型和支持资源组级别授权的操作,资源组级别授权才能生效。
-
对于不支持资源组的资源类型,授予资源组范围的权限将无效。在选择资源范围时,请选择账号级别,进行账号级别授权。具体操作,请参见不支持资源组级别授权的操作。
资源组授权的工作原理
您可以使用资源组(Resource Group)对阿里云账号内的资源进行分组管理。例如,为不同的项目创建对应的资源组,并将资源转移到对应的组中,以便集中管理各项目的资源。更多信息,请参见什么是资源组。
在完成资源分组后,您可以为不同的RAM授权主体(RAM用户、RAM用户组或RAM角色)授予指定资源组范围的权限,从而限定这个授权主体只能管理该资源组内的资源。更多信息,请参见资源分组和授权。
这种授权方式的优点有:
-
权限精细化:确保每个身份能获得最准确的资源访问权限,避免账号下的多个项目的资源混合管理。
-
良好的扩展性:后续新增资源时,只需将其加入该资源组,RAM身份便会自动获得新资源的相应权限,无需再次授权。
为RAM用户授予资源组级别的权限
下面以RAM用户为例,介绍授予指定资源组内域名资源权限的操作步骤。
1. 前置步骤
2. 进行资源组级别授权
您可以通过以下任一方式进行资源组级别授权。
方式一:在资源管理控制台中授权
通过资源组的权限管理功能为指定 RAM 用户授权。详情操作可参见为RAM身份授予资源组范围的权限。
方式二:在 RAM 控制台中授权
通过RAM控制台为指定 RAM 用户进行资源组级别授权。详细操作可参见为RAM用户授权。
支持资源组的资源类型
域名支持资源组的资源类型如下表所示:
|
云服务 |
云服务代码 |
资源类型 |
|
域名 |
domain |
domain : 域名 |
对于暂不支持资源组的资源类型,如有需要,您可以在资源组控制台提交反馈。

不支持资源组级别授权的操作
域名中不支持资源组级别授权的操作(Action)如下:
|
操作(Action) |
操作描述 |
|
domain:AcknowledgeTaskResult |
调用AcknowledgeTaskResult确认任务详情结果。 |
|
domain:AddAssistantQuestionFaq |
- |
|
domain:AddFavoriteDomain |
- |
|
domain:AddKnowledgeFaq |
- |
|
domain:AddLeadConfigNotificationType |
- |
|
domain:BatchIntrudeDomains |
- |
|
domain:BatchQueryPushStatus |
- |
|
domain:BatchRecallPush |
- |
|
domain:BrokerDemand |
- |
|
domain:BrokerDemandApp |
- |
|
domain:CancelOperationAudit |
调用CancelOperationAudit取消自助业务审核。 |
|
domain:CancelTask |
调用CancelTask取消进行中的任务。 |
|
domain:CheckDomain |
- |
|
domain:CheckPushReceiver |
- |
|
domain:CreateAiSuiteWebsite |
- |
|
domain:DeleteAiSuiteWebsite |
- |
|
domain:DeleteContactTemplates |
批量删除域名联系人模板。 |
|
domain:DeleteKnowledgeDocuments |
- |
|
domain:DeleteLeadConfigNotificationType |
- |
|
domain:DeleteOrderTaskDetail |
- |
|
domain:DomainSpecialBizCancel |
- |
|
domain:DomainSpecialBizCreateOrder |
- |
|
domain:EmailVerificationOperation |
调用SubmitEmailVerification接口发送邮箱验证邮件。 |
|
domain:EmailVerified |
- |
|
domain:ExportLeadRecordList |
- |
|
domain:FixPrice |
- |
|
domain:GenerateDomainCertificate |
- |
|
domain:GetAiSuiteWebsitePreviewToken |
- |
|
domain:GetAiSuiteWebsiteProfileOverview |
- |
|
domain:GetOssTemporaryUrl |
- |
|
domain:GetOssUploadPolicy |
- |
|
domain:ImportPreDeleteDomain |
- |
|
domain:IntlFixPrice |
调用QueryIntlFixedPriceOrderList查询国际一口价订单列表。 |
|
domain:ListDomains |
- |
|
domain:ListOperationAuditInfos |
调用QueryOperationAuditInfoList查询自助业务的审核记录列表。 |
|
domain:ListTagKeys |
- |
|
domain:ListTagResources |
- |
|
domain:OperateFulfillmentRecord |
- |
|
domain:OperateNewgTldDeliveryRecord |
- |
|
domain:PartnerAuction |
- |
|
domain:PayIntlBrokerDemandOrder |
- |
|
domain:PublishAiSuiteWebsite |
- |
|
domain:PushDomains |
- |
|
domain:QueryAiSuiteWebsiteDetail |
- |
|
domain:QueryAiSuiteWebsiteList |
- |
|
domain:QueryAssistantAnalysisStats |
- |
|
domain:QueryAssistantChatList |
- |
|
domain:QueryAssistantConfig |
- |
|
domain:QueryAssistantConversationList |
- |
|
domain:QueryAssistantQuestionList |
- |
|
domain:QueryBuyerDomainTradeRecords |
- |
|
domain:QueryDomain |
调用LookupTmchNotice根据传入商标词key查询tmch(商标词)信息。 |
|
domain:QueryDomainAddedValueServiceList |
- |
|
domain:QueryDomainAutoRenewList |
- |
|
domain:QueryDomainGroup |
调用QueryDomainGroupList查询域名分组列表。 |
|
domain:QueryDomainRealTimePrice |
- |
|
domain:QueryDomainSpecialBizDetail |
- |
|
domain:QueryDomainSpecialBizInfoByDomain |
- |
|
domain:QueryDomainSpecialBizInfoList |
- |
|
domain:QueryDomainSpecialBizPrice |
- |
|
domain:QueryDomainValueAddedService |
- |
|
domain:QueryDomainValueAddedServiceList |
- |
|
domain:QueryEmailVerification |
调用QueryEmailVerification查询邮箱验证结果。 |
|
domain:QueryExportAuctionDetail |
- |
|
domain:QueryExportDomainExpireSnatchs |
- |
|
domain:QueryFailingReasonList |
查询“.餐厅”、“.商标”域名资质审核失败原因。 |
|
domain:QueryFavoriteDomainPageList |
- |
|
domain:QueryFulfillmentRecordDetail |
- |
|
domain:QueryFulfillmentRecordList |
- |
|
domain:QueryIntlBrokerDemandDetail |
- |
|
domain:QueryIntlBrokerDemandList |
- |
|
domain:QueryIntlBrokerDemandRecordList |
- |
|
domain:QueryKnowledgeBaseDetail |
- |
|
domain:QueryKnowledgeDocumentList |
- |
|
domain:QueryKnowledgeFaqList |
- |
|
domain:QueryLeadChannelConfig |
- |
|
domain:QueryLeadFormConfig |
- |
|
domain:QueryLeadNotificationConfig |
- |
|
domain:QueryLeadRecordList |
- |
|
domain:QueryLeadRecordSummary |
- |
|
domain:QueryNewgTldDeliveryRecordDetail |
- |
|
domain:QueryOperationAuditInfoDetail |
调用QueryOperationAuditInfoDetail查询自助业务的审核记录详情。 |
|
domain:QueryPrice |
- |
|
domain:QueryRegistrantProfile |
调用QueryRegistrantProfiles接口查询当前账号下的域名信息模板。 |
|
domain:QuerySingleTaskInfo |
- |
|
domain:QueryUsRegistrantExtension |
- |
|
domain:QueryUserCommand |
- |
|
domain:QueryUserExtConfigByExtField |
- |
|
domain:RecommendFixPriceDomain |
- |
|
domain:RefreshAiSuiteWebsiteInstallStatus |
- |
|
domain:RefreshKnowledgeWebsite |
- |
|
domain:RegistrantProfileOperation |
调用SaveRegistrantProfile接口创建或更新域名信息模板。 |
|
domain:RemoveFavoriteDomain |
- |
|
domain:SaveAiSuiteWebsitePreviewConfig |
- |
|
domain:SaveAssistantConfig |
- |
|
domain:SaveCctldExtendInfo |
- |
|
domain:SaveContactTemplateRemark |
- |
|
domain:SaveKnowledgeBaseConfig |
- |
|
domain:SaveLeadChannelConfig |
- |
|
domain:SaveLeadFormConfig |
- |
|
domain:SaveRegistrantProfileRealNameVerification |
调用SaveRegistrantProfileRealNameVerification接口保存域名联系人和证件信息。 |
|
domain:SaveTaskForSubmittingDomainDelete |
提交删除域名任务,仅白名单用户可以访问。 |
|
domain:SaveTaskInfo |
- |
|
domain:SaveUsRegistrantExtension |
- |
|
domain:SaveUserCommand |
- |
|
domain:SaveUserExtConfig |
- |
|
domain:SendLeadConfigVerifyCode |
- |
|
domain:SetDefaultRegistrantProfile |
调用SetDefaultRegistrantProfile接口设置域名联系人默认模板。 |
|
domain:SubmitDomainSpecialBizCredentials |
- |
|
domain:SubmitDomainSpecialBizInfo |
- |
|
domain:SubmitIntlBrokerDemand |
- |
|
domain:SubmitOperationCredentials |
调用SubmitOperationCredentials提交自助业务待审核的证件资料。 |
|
domain:ToggleLeadConfigNotificationStatus |
- |
|
domain:TransferInCheckMailToken |
调用TransferInCheckMailToken验证域名持有者邮件Token。 |
|
domain:UpdateKnowledgeFaq |
- |
|
domain:UpdateProxyPrice |
- |
|
domain:UploadKnowledgeDocument |
- |
|
domain:UploadPolicyForCredential |
调用GetOperationOssUploadPolicy获取审核资料的存储信息。 |
|
domain:UploadPolicyForQualification |
获取“.餐厅”、“.商标”域名对应的授权策略。 |
|
domain:UserConfirmIntlBrokerDemand |
- |
|
domain:VerifyEmail |
调用VerifyEmail接口提交邮箱验证。 |
|
domain:WebsiteAddDnsRecord |
- |
|
domain:WebsiteDeleteDnsRecord |
- |
|
domain:WhoisProtection |
- |
|
domain:null |
- |
对于不支持资源组授权的操作,授权时资源范围选择资源组级别将无效。如果仍需要RAM用户有上述操作权限,您需要创建自定义权限策略,授权时资源范围选择账号级别。
以下是两个自定义权限策略示例,您可以根据实际需要调整策略内容。
-
允许不支持资源组级别授权的全部只读操作:
Action中列举不支持资源组级别授权的所有只读操作。{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ ], "Resource": "*" } ] } -
允许不支持资源组级别授权的全部操作:
Action中列举不支持资源组级别授权的全部操作。{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "domain:AcknowledgeTaskResult", "domain:AddAssistantQuestionFaq", "domain:AddFavoriteDomain", "domain:AddKnowledgeFaq", "domain:AddLeadConfigNotificationType", "domain:BatchIntrudeDomains", "domain:BatchQueryPushStatus", "domain:BatchRecallPush", "domain:BrokerDemand", "domain:BrokerDemandApp", "domain:CancelOperationAudit", "domain:CancelTask", "domain:CheckDomain", "domain:CheckPushReceiver", "domain:CreateAiSuiteWebsite", "domain:DeleteAiSuiteWebsite", "domain:DeleteContactTemplates", "domain:DeleteKnowledgeDocuments", "domain:DeleteLeadConfigNotificationType", "domain:DeleteOrderTaskDetail", "domain:DomainSpecialBizCancel", "domain:DomainSpecialBizCreateOrder", "domain:EmailVerificationOperation", "domain:EmailVerified", "domain:ExportLeadRecordList", "domain:FixPrice", "domain:GenerateDomainCertificate", "domain:GetAiSuiteWebsitePreviewToken", "domain:GetAiSuiteWebsiteProfileOverview", "domain:GetOssTemporaryUrl", "domain:GetOssUploadPolicy", "domain:ImportPreDeleteDomain", "domain:IntlFixPrice", "domain:ListDomains", "domain:ListOperationAuditInfos", "domain:ListTagKeys", "domain:ListTagResources", "domain:OperateFulfillmentRecord", "domain:OperateNewgTldDeliveryRecord", "domain:PartnerAuction", "domain:PayIntlBrokerDemandOrder", "domain:PublishAiSuiteWebsite", "domain:PushDomains", "domain:QueryAiSuiteWebsiteDetail", "domain:QueryAiSuiteWebsiteList", "domain:QueryAssistantAnalysisStats", "domain:QueryAssistantChatList", "domain:QueryAssistantConfig", "domain:QueryAssistantConversationList", "domain:QueryAssistantQuestionList", "domain:QueryBuyerDomainTradeRecords", "domain:QueryDomain", "domain:QueryDomainAddedValueServiceList", "domain:QueryDomainAutoRenewList", "domain:QueryDomainGroup", "domain:QueryDomainRealTimePrice", "domain:QueryDomainSpecialBizDetail", "domain:QueryDomainSpecialBizInfoByDomain", "domain:QueryDomainSpecialBizInfoList", "domain:QueryDomainSpecialBizPrice", "domain:QueryDomainValueAddedService", "domain:QueryDomainValueAddedServiceList", "domain:QueryEmailVerification", "domain:QueryExportAuctionDetail", "domain:QueryExportDomainExpireSnatchs", "domain:QueryFailingReasonList", "domain:QueryFavoriteDomainPageList", "domain:QueryFulfillmentRecordDetail", "domain:QueryFulfillmentRecordList", "domain:QueryIntlBrokerDemandDetail", "domain:QueryIntlBrokerDemandList", "domain:QueryIntlBrokerDemandRecordList", "domain:QueryKnowledgeBaseDetail", "domain:QueryKnowledgeDocumentList", "domain:QueryKnowledgeFaqList", "domain:QueryLeadChannelConfig", "domain:QueryLeadFormConfig", "domain:QueryLeadNotificationConfig", "domain:QueryLeadRecordList", "domain:QueryLeadRecordSummary", "domain:QueryNewgTldDeliveryRecordDetail", "domain:QueryOperationAuditInfoDetail", "domain:QueryPrice", "domain:QueryRegistrantProfile", "domain:QuerySingleTaskInfo", "domain:QueryUsRegistrantExtension", "domain:QueryUserCommand", "domain:QueryUserExtConfigByExtField", "domain:RecommendFixPriceDomain", "domain:RefreshAiSuiteWebsiteInstallStatus", "domain:RefreshKnowledgeWebsite", "domain:RegistrantProfileOperation", "domain:RemoveFavoriteDomain", "domain:SaveAiSuiteWebsitePreviewConfig", "domain:SaveAssistantConfig", "domain:SaveCctldExtendInfo", "domain:SaveContactTemplateRemark", "domain:SaveKnowledgeBaseConfig", "domain:SaveLeadChannelConfig", "domain:SaveLeadFormConfig", "domain:SaveRegistrantProfileRealNameVerification", "domain:SaveTaskForSubmittingDomainDelete", "domain:SaveTaskInfo", "domain:SaveUsRegistrantExtension", "domain:SaveUserCommand", "domain:SaveUserExtConfig", "domain:SendLeadConfigVerifyCode", "domain:SetDefaultRegistrantProfile", "domain:SubmitDomainSpecialBizCredentials", "domain:SubmitDomainSpecialBizInfo", "domain:SubmitIntlBrokerDemand", "domain:SubmitOperationCredentials", "domain:ToggleLeadConfigNotificationStatus", "domain:TransferInCheckMailToken", "domain:UpdateKnowledgeFaq", "domain:UpdateProxyPrice", "domain:UploadKnowledgeDocument", "domain:UploadPolicyForCredential", "domain:UploadPolicyForQualification", "domain:UserConfirmIntlBrokerDemand", "domain:VerifyEmail", "domain:WebsiteAddDnsRecord", "domain:WebsiteDeleteDnsRecord", "domain:WhoisProtection", "domain:null" ], "Resource": "*" } ] }
获得账号级别权限的RAM用户或RAM角色,能够操作整个账号范围内的相关资源。请务必确认所授予的权限是否符合预期,遵从最小授权原则谨慎分配权限。
常见问题
如何查看当前资源属于哪个资源组?
-
方式一:单击资源名称,进入资源的详情页面,即可查看到当前资源的资源组。
-
方式二:登录资源管理控制台,单击,在左侧选择目标资源所属账号(默认为当前账号),通过筛选条件定位目标资源,即可查看其所属资源组。
如何查看当前产品在某个资源组下的所有资源?
如何批量修改多个资源的资源组?
登录资源管理控制台,单击,在目标资源组所在行的操作列下,单击资源管理以进入资源管理页面。通过筛选条件定位多个目标资源,批量勾选第一列的复选框后单击下方转移资源组,并按页面提示完成资源组修改。