Skip to content

Instantly share code, notes, and snippets.

@duffn
Last active September 8, 2018 03:11
Show Gist options
  • Save duffn/99e4eb7fb265ec59fe8566ff0e5525a2 to your computer and use it in GitHub Desktop.
Save duffn/99e4eb7fb265ec59fe8566ff0e5525a2 to your computer and use it in GitHub Desktop.
S3 Public Bucket Policy
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::example.com/*"]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment