Last active
December 23, 2015 18:29
-
-
Save dirtyhenry/6675770 to your computer and use it in GitHub Desktop.
This is the permission you need to set with Amazon AWS S3 to provide full access to a "mybucket" bucket and read-access only to all your buckets.
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
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": "S3:*", | |
"Resource": "arn:aws:s3:::mybucket/*", | |
"Condition": {} | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket" | |
], | |
"Resource": "arn:aws:s3:::mybucket", | |
"Condition": {} | |
}, | |
{ | |
"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