智能云相册支持子用户,您可以为子用户授予不同的访问权限。智能云相册内置以下两个默认授权策略:
API | RAM授权操作(Action) | 资源(Resource) | 描述 |
CreatePhotoStore | cloudphoto:CreatePhotoStore | acs:cloudphoto:${regionId}:${accountId}:photostores/* | 创建PhotoStore实例 |
ListPhotoStores | cloudphoto:ListPhotoStores | acs:cloudphoto:${regionId}:${accountId}:photostores/* | 获取已创建实例列表 |
GetPhotoStore | cloudphoto:GetPhotoStore | acs:cloudphoto:${regionId}:${accountId}:photostores/${photostoreName} | 获取实例信息 |
DeletePhotoStore | cloudphoto:DeletePhotoStore | acs:cloudphoto:${regionId}:${accountId}:photostores/${photostoreName} | 删除实例 |
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "acs:cloudphoto:*:*:photostores/<storeName>/libraries/<libraryId>"
},
{
"Effect": "Deny",
"Action": "cloudphoto:SetQuota",
"Resource": "acs:cloudphoto:*:*:photostores/<storeName>/libraries/<libraryId>"
}
]
}
{
"Statement": [
{
"Action": [
"cloudphoto:Get*",
"cloudphoto:List*"
],
"Effect": "Allow",
"Resource": "acs:cloudphoto:*:*:photostores/<storeName>/libraries/<libraryId>"
}
],
"Version": "1"
}
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。