mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
update required IAM policies
This commit is contained in:
parent
082755de1a
commit
bedf739d16
@ -46,22 +46,27 @@ Minimum permissions required if you wish to provide restricted access with your
|
|||||||
"Version": "2012-10-17",
|
"Version": "2012-10-17",
|
||||||
"Statement": [
|
"Statement": [
|
||||||
{
|
{
|
||||||
"Sid": "readonly",
|
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Action": [
|
"Action": [
|
||||||
"s3:GetObject"
|
"s3:GetBucketLocation"
|
||||||
],
|
],
|
||||||
"Resource": "arn:aws:s3:::testbucket/*"
|
"Resource": [
|
||||||
|
"arn:aws:s3:::*"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Sid": "readonly",
|
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Action": [
|
"Action": [
|
||||||
"s3:GetBucketPolicy",
|
"s3:PutObject",
|
||||||
"s3:HeadBucket",
|
"s3:GetObject",
|
||||||
"s3:ListBucket"
|
"s3:ListBucket",
|
||||||
|
"s3:DeleteObject",
|
||||||
|
"s3:HeadBucket"
|
||||||
],
|
],
|
||||||
"Resource": "arn:aws:s3:::testbucket"
|
"Resource": [
|
||||||
|
"arn:aws:s3:::mybucket",
|
||||||
|
"arn:aws:s3:::mybucket/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user