Created
December 18, 2017 18:11
-
-
Save makevoid/8bc72950ca2b237a4099ae51b2c4192f to your computer and use it in GitHub Desktop.
S3 AWS Policy - Allow access and management of a single bucket + list buckets permission (so most S3 clients don't complain - remove the ListAllMyBuckets and restrict bucket management for extra security)
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": [ | |
{ | |
"Effect": "Allow", | |
"Action": "s3:*", | |
"Resource": [ | |
"arn:aws:s3:::BUCKET_NAME", | |
"arn:aws:s3:::BUCKET_NAME/*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "s3:ListAllMyBuckets", | |
"Resource": "arn:aws:s3:::*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment