Created
October 2, 2019 19:37
-
-
Save felipe3dfx/ab66273349bda38b1a5507b7ae2008a7 to your computer and use it in GitHub Desktop.
Next Cloud S3 Policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "ListAllBuckets", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets", | |
"s3:GetBucketLocation" | |
], | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Sid": "ListObjectsInBucket", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket" | |
], | |
"Resource": ["arn:aws:s3:::<bucket_name>"] | |
}, | |
{ | |
"Sid": "AllObjectActions", | |
"Effect": "Allow", | |
"Action": "s3:*Object", | |
"Resource": ["arn:aws:s3:::<bucket_name>/*",] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment