子账户授权对特定oss的bucket进行访问
https://help.aliyun.com/zh/oss/user-guide/common-examples-of-ram-policies
1- 自定义权限策略:
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": "oss:*",
"Resource": [
"acs:oss:*:*:mybucket",
"acs:oss:*:*:mybucket/*"
]
}
]
}
比如我们起名 testbuket-rw
官方案例参考:
OSS的RAM Policy的常见示例_对象存储(OSS)-阿里云帮助中心 (aliyun.com)