服务关联角色
更新时间:
复制 MD 格式
KVCacheStore 通过服务关联角色获取访问其他阿里云服务资源的权限。服务关联角色关联的系统策略由阿里云预定义。
创建服务关联角色
使用 KVCacheStore 的相关功能时,系统会提示创建对应的服务关联角色。每个服务关联角色关联一个系统策略,该策略由阿里云预定义,不支持修改。
AliyunServiceRoleForKVCacheStore
访问 KVCacheStore 控制台的概览页和KVCacheStore列表页时,如果检测到服务关联角色未创建,系统将提示创建该服务关联角色。
系统策略名称:AliyunServiceRolePolicyForKVCacheStore
权限策略内容:
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "eflo:ListVscs", "eflo:DescribeVsc" ], "Resource": "*" }, { "Action": "ram:DeleteServiceLinkedRole", "Resource": "*", "Effect": "Allow", "Condition": { "StringEquals": { "ram:ServiceName": "kvcachestore.aliyuncs.com" } } } ] }
删除服务关联角色
当不再需要 KVCacheStore 访问相关资源时,可以在 RAM 控制台删除对应的服务关联角色。具体操作,请参见服务关联角色。
重要
删除前,必须确保当前账号下不存在任何KVCacheStore资源。
该文章对您有帮助吗?