Skip to content

Instantly share code, notes, and snippets.

@dragolabs
Last active September 11, 2015 16:46
Show Gist options
  • Save dragolabs/3459a68e8f9394a7d76a to your computer and use it in GitHub Desktop.
Save dragolabs/3459a68e8f9394a7d76a to your computer and use it in GitHub Desktop.
Policy for access to one S3 bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::my-backup"]
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject"
],
"Resource": ["arn:aws:s3:::my-backup/*"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment