Created
February 26, 2015 09:26
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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