Skip to content

Instantly share code, notes, and snippets.

@quentind
Created November 1, 2013 22:42
Show Gist options
  • Save quentind/7273153 to your computer and use it in GitHub Desktop.
Save quentind/7273153 to your computer and use it in GitHub Desktop.
Grant privilege to one AWS S3 bucket
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::bucket-name",
"arn:aws:s3:::bucket-name/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment