Skip to content

Instantly share code, notes, and snippets.

@groodt
Created June 26, 2014 09:22
Show Gist options
  • Save groodt/1f2770f210d0a4865874 to your computer and use it in GitHub Desktop.
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
{
"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