对象存储权限设置
# 样例
{
"Id": "Policy1694501981111",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:ListBucket"
],
"Principal": {
"AWS": [
"arn:aws:iam:::user/[用户名]"
]
},
"Resource": [
"arn:aws:s3:::[桶名]",
"arn:aws:s3:::[桶名]/[路径]/*"
]
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 说明
配置菜单:S3 Console --> 权限管理 --> 权限策略
若保存失败,去掉参数中的Id字段
编辑 (opens new window)
上次更新: 2024/05/16, 09:20:45