Skip to content

Instantly share code, notes, and snippets.

@mveitas
Created May 26, 2013 13:55
Show Gist options
  • Save mveitas/5652876 to your computer and use it in GitHub Desktop.
Save mveitas/5652876 to your computer and use it in GitHub Desktop.
Sample S3 ReadOnly Policy
{
"Statement": [
{
"Action": [
"s3:GetBucketAcl",
"s3:GetBucketLocation",
"s3:GetBucketNotification",
"s3:GetBucketPolicy",
"s3:GetBucketRequestPayment",
"s3:GetBucketVersioning",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectVersion",
"s3:GetObjectVersionAcl",
"s3:ListBucket",
"s3:ListBucketMultipartUploads",
"s3:ListBucketVersions",
"s3:ListMultipartUploadParts"
],
"Effect": "Allow",
"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