Created
December 17, 2012 08:03
-
-
Save bluerabbit/4316542 to your computer and use it in GitHub Desktop.
AWS IAMで特定のbucketにのみアクセス可能なPermissions Policy https://console.aws.amazon.com/iam/home 参考)
http://blog.dateofrock.com/2011/04/s3iam.html
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
{ | |
"Statement": [ | |
{ | |
"Sid": "Stmt1355727169912", | |
"Action": [ | |
"s3:ListAllMyBuckets" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Sid": "Stmt1355727169913", | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListBucket" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::your_access_bucket_name" | |
}, | |
{ | |
"Sid": "Stmt1355727169914", | |
"Action": "s3:*", | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::your_access_bucket_name/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment