Skip to content

Instantly share code, notes, and snippets.

@dreikanter
Last active August 29, 2015 13:57
Show Gist options
  • Save dreikanter/9772174 to your computer and use it in GitHub Desktop.
Save dreikanter/9772174 to your computer and use it in GitHub Desktop.
IAM user configuration to grant access to a specific bucket at Amazon S3
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::PUT_BUCKET_NAME_HERE",
"arn:aws:s3:::PUT_BUCKET_NAME_HERE/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment