Created
April 24, 2012 00:52
-
-
Save jmathai/2475097 to your computer and use it in GitHub Desktop.
Sample AWS IAM for OpenPhoto
This file contains 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
# use the s3:* and/or sdb:* depending on which you'll need | |
# sdb domain prefix can be any string. | |
# s3 bucket names are globally unique | |
# your account id should not have any spaces or dashes | |
{ | |
"Statement": [ | |
{ | |
"Sid": "StmtNNNNNNNNNNNNN", | |
"Action": "s3:*", | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::{your_bucket_name}" | |
}, | |
{ | |
"Sid": "StmtMMMMMMMMMMMMM", | |
"Action": "sdb:*", | |
"Effect": "Allow", | |
"Resource": "arn:aws:sdb:*:{your_account_id}:domain/{an_sdb_domain_prefix}*" | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment