Created
June 26, 2014 09:22
-
-
Save groodt/1f2770f210d0a4865874 to your computer and use it in GitHub Desktop.
AWS S3 Policy for allowing AWS Console access to a single S3 Bucket
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:GetBucketLocation", "s3:ListAllMyBuckets"], | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": ["s3:ListBucket" ], | |
"Resource": [ "arn:aws:s3:::mybucket"] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ "s3:PutObject", "s3:GetObject", "s3:DeleteObject"], | |
"Resource": [ "arn:aws:s3:::mybucket/*"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment