Last active
August 29, 2015 14:20
-
-
Save fizerkhan/bd9025bda525aceaab78 to your computer and use it in GitHub Desktop.
What IAM policy do I need for S3 backups?
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
| { | |
| "Version": "2012-10-17", | |
| "Statement":[ | |
| { | |
| "Effect":"Allow", | |
| "Action":"s3:*", | |
| "Resource":[ | |
| "arn:aws:s3:::BUCKET_NAME", | |
| "arn:aws:s3:::BUCKET_NAME/*" | |
| ] | |
| }, | |
| { | |
| "Effect":"Allow", | |
| "Action":"s3:ListAllMyBuckets", | |
| "Resource":[ | |
| "arn:aws:s3:::*" | |
| ] | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't forget to replace BUCKET_NAME in the example above with your own bucket name