当前位置: 动力学知识库 > 问答 > 编程问答 >

amazon s3 - IAM Policy Limit s3:ListAllMyBuckets with filter

问题描述:

Let's say I have multiple top-level s3 buckets on AWS.

And I have some of the buckets tagged like env: development.

I'd like to be able to call s3:ListAllMyBuckets and return only the following.

➜ console ✗ aws s3 ls s3://

2016-06-08 08:58:26 project-development-cdn

2016-06-08 20:06:04 project-development.mydomain.com-cdn

So the question is, how should I form my AWS/IAM policy to be able to allow a specific user to access only a list of the S3 resources that are tagged env=development?


If tag filtering is not possible, Any suggestions will be helpful. Thanks

分享给朋友:
您可能感兴趣的文章:
随机阅读: