Skip to content

Instantly share code, notes, and snippets.

@michaelhelmick
Created February 4, 2018 20:18
Show Gist options
  • Save michaelhelmick/9873e6964470712abab8c90c83b58bb3 to your computer and use it in GitHub Desktop.
Save michaelhelmick/9873e6964470712abab8c90c83b58bb3 to your computer and use it in GitHub Desktop.
AWS IAM policy for a user accessing a certain S3 bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::org-travis-ci"
]
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::org-travis-ci/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment