作者:手机用户2502885647_951 | 来源:互联网 | 2023-07-28 14:39
I'm trying to figure out a basic permission set for an IAM user/key to have to have access to only a single bucket in S3 - only read/write access on an individual bucket.
我试图弄清楚IAM用户/密钥的基本权限集必须只能访问S3中的单个存储桶 - 只对单个存储桶进行读/写访问。
What set of permissions is the minimum required to make this work? I have all options selected in the IAM policy generator for S3, all permissions enabled on the bucket except CreateBucket
and DeleteBucket
. I've also created a set of keys specific to this user.
使这项工作所需的最低权限是什么?我在S3的IAM策略生成器中选择了所有选项,除了CreateBucket和DeleteBucket之外,在桶上启用了所有权限。我还创建了一组特定于此用户的密钥。
When I try to access the bucket with these credentials, I get a problem listing buckets, even though the ListAllMyBuckets
property is enabled.
当我尝试使用这些凭据访问存储桶时,即使启用了ListAllMyBuckets属性,我也会遇到列出存储桶的问题。
Anyone have any experience setting up a basic bucket config like this? Seems like it would be pretty common...
有没有经验设置这样的基本桶配置?好像很常见......
2 个解决方案