访问把水桶政策对AWS S3存储用root用户时被拒绝(=桶所有者)

问题描述 投票:3回答:2

我有我用于创建亚马逊S3桶的AWS根用户。 现在,我希望通过添加下面的策略,使这个斗市民:

{
   "Version": "2012-10-17",
   "Statement": [{
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::<my bucket name>/*"
   }]
}

哪里是我的桶的名字吗? 当我试图挽救这个政策,我得到一个403次拒绝访问..

我试图明确设置putbucketpolicy权限,但它仍然给403。 任何机构,知道为什么吗?

这是图像错误:

amazon-web-services amazon-s3 root policy bucket
2个回答
© www.soinside.com 2019 - 2024. All rights reserved.