Skip to content

Instantly share code, notes, and snippets.

@slav123
Created November 12, 2014 05:32
Show Gist options
  • Save slav123/cba71bb76377aa592f12 to your computer and use it in GitHub Desktop.
Save slav123/cba71bb76377aa592f12 to your computer and use it in GitHub Desktop.
s3 bucket policy for s3cmd sunc command
{
"Statement": [
{
"Action": [
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::*"
},
{
"Action": [
"s3:ListBucket",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::bucket/path",
"arn:aws:s3:::bucket/path/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment