本文为您介绍DysmsLog服务关联角色(AliyunServiceRoleForDysmsLog)的应用场景以及如何删除服务关联角色。
背景信息
DysmsLog服务关联角色(AliyunServiceRoleForDysmsLog)是在某些情况下,为了完成DysmsLog自身的某个功能,需要获取其他云服务的访问权限,而提供的RAM角色。更多关于服务关联角色的信息请参见服务关联角色。
应用场景
DysmsLog将短信发送记录写入日志服务的功能需要访问云服务的资源,我们通过服务关联角色功能可以获取相应的访问权限。
AliyunServiceRoleForDysmsLog介绍
角色名称:AliyunServiceRoleForDysmsLog
角色权限策略:AliyunServiceRolePolicyForDysmsLog
权限说明:
{
"Version": "1",
"Statement": [
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "log.dysms.aliyuncs.com"
}
}
},
{
"Action": "log:CreateProject",
"Resource": "acs:log:*:*:project/sms-log-*",
"Effect": "Allow"
},
{
"Action": "log:CreateLogStore",
"Resource": "acs:log:*:*:project/sms-log-*/logstore/*",
"Effect": "Allow"
},
{
"Action": [
"log:GetLogStore",
"log:UpdateLogStore",
"log:GetIndex",
"log:CreateIndex",
"log:UpdateIndex"
],
"Resource": "acs:log:*:*:project/sms-log-*/logstore/sms-log",
"Effect": "Allow"
},
{
"Action": [
"log:CreateDashboard",
"log:GetDashboard",
"log:UpdateDashboard"
],
"Resource": "acs:log:*:*:project/sms-log-*/dashboard/*",
"Effect": "Allow"
},
{
"Action": [
"log:CreateSavedSearch",
"log:UpdateSavedSearch"
],
"Resource": "acs:log:*:*:project/sms-log-*/savedsearch/*",
"Effect": "Allow"
},
{
"Action": [
"log:PostLogStoreLogs"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
删除服务关联角色
如果您需要删除AliyunServiceRoleForDysmsLog(服务关联角色),请参见删除服务关联角色。
文档内容是否对您有帮助?