Skip to content

Instantly share code, notes, and snippets.

@brusch
Created June 20, 2016 14:52
Show Gist options
  • Save brusch/184d646b927790674d1c50d49b9e5c1a to your computer and use it in GitHub Desktop.
Save brusch/184d646b927790674d1c50d49b9e5c1a to your computer and use it in GitHub Desktop.
// PUT THE FOLLOWING INTO YOUR "BUCKET POLICY" AND RENAME 'pimcore-demo' WITH THE NAME OF YOUR S3-BUCKET
{
"Version": "2008-10-17",
"Id": "Policy1380877762691",
"Statement": [
{
"Sid": "Stmt1380877761162",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::pimcore-demo/tmp/*"
},
{
"Sid": "Stmt1380877761163",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::pimcore-demo/assets/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment