Skip to content

Instantly share code, notes, and snippets.

@mohamnag
Created February 26, 2015 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohamnag/4564144427df886593ed to your computer and use it in GitHub Desktop.
Save mohamnag/4564144427df886593ed to your computer and use it in GitHub Desktop.
s3cmd sync necessary user policy, this policy should be attached to user in IAM console
{
"Statement": [
{
"Action": [
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::*"
},
{
"Action": [
"s3:ListBucket",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::bucketname",
"arn:aws:s3:::bucketname/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment