Skip to content

Instantly share code, notes, and snippets.

@garnaat
Last active December 14, 2015 21:58
Show Gist options
  • Save garnaat/5154407 to your computer and use it in GitHub Desktop.
Save garnaat/5154407 to your computer and use it in GitHub Desktop.
JSON policy for read-only access to an S3 bucket
{
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::pyconprod"]
},
{
"Effect": "Allow",
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::pyconprod/*"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment