通过对业务实例授权,该账号只有该业务实例的操作权限,其他实例无权限操作。
文档简介
满足业务中对于实例更严格的权限划分配置。
操作步骤
重要
前提是操作人员要有RAM访问控制的管理权限
第一步:登录RAM访问控制控制台,进入 【权限策略】菜单,创建权限策略

第二步:选择脚本编辑

第三步:复制以下脚本,更改自己账号的阿里云uid以及要授权的业务id
说明如果一个账号要授权多个业务实例,将
{
"Effect": "Allow",
"Action": "outboundbot:*",
"Resource": "acs:outboundbot:cn-shanghai:1136759417152033:instance/35d744ec-47e7-4738-bb61-eac0a6941415"
}
这串代码再复制一遍加到脚本下面,改掉业务ID


{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "outboundbot:GetServiceStatus", "outboundbot:DescribeCommodityInfo", "outboundbot:CheckUnconfirmedProviderOrders", "outboundbot:ListLatestNotices", "outboundbot:ListResourceTags", "outboundbot:ListTenantHaveNumberSipTrunk", "outboundbot:ListAllTenantBindNumberBindingByPage", "outboundbot:ListAllTenantBindNumberByPage", "outboundbot:GetRealtimeConcurrencyReport", "outboundbot:ListChatbotInstances", "outboundbot:GetRealtimeConcurrencyReport", "outboundbot:GetConcurrencyTrendingReport", "outboundbot:DescribePurchaseInfo", "outboundbot:DescribePresetStatus", "outboundbot:DescribeCallOverview", "outboundbot:DescribePresetInstance", "outboundbot:ListInstances", "outboundbot:ListJobGroupsAsync", "outboundbot:GetEmptyNumberNoMoreCallsInfo", "outboundbot:Log", "outboundbot:GetAgentProfileTemplate", "outboundbot:GetVersion", "outboundbot:GetSummaryInfo", "outboundbot:ListSystemAgentProfiles", "outboundbot:ListConversationDetails", "outboundbot:GenerateUploadUrl" ], "Resource": "*" }, { "Effect": "Allow", "Action": "notifications:ReadMessageList", "Resource": "*" }, { "Effect": "Allow", "Action": "aegis:DescribeAccesskeyLeakList", "Resource": "*" }, { "Effect": "Allow", "Action": "outboundbot:*", "Resource": "acs:outboundbot:cn-shanghai:<修改为自己的主账号ID>:instance/<修改为分配的实例ID>" } ] }第四步:给账号授权以上建立的权限


该文章对您有帮助吗?