AWS S3 Bucket policy editor access denied

谁都会走 提交于 2019-12-18 11:01:28

问题


I am logged in with the root account trying to give public access to a bucket inline with the instructions for setting up a static s3 web site. However I get an access denied message when running the bucket policy.

There is no more detail on the message.


回答1:


This could be due to recent changes in S3. You need to assign Public Access to the bucket, follow the below steps:

  1. In the permissions tab click on public Access settings

  2. Click "edit"

  1. Make sure "block new public bucket policies option" is deselected.

  2. Click "Save"

  3. Go back to bucket policy and try again.




回答2:


"Manage public bucket policies for this bucket" section need to be unchecked for to introduce "Allow" policies.

But be cautious, unchecking these might enable you to introduce a policy but that policy is a public policy making your bucket public.

Having these checked - You won't be able to introduce "Allow" policies that for this bucket.

You can however introduce "Deny" policies, with these options checked.



来源:https://stackoverflow.com/questions/53496152/aws-s3-bucket-policy-editor-access-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!