Ruby Amazon S3 Access Denied when listing buckets

戏子无情 提交于 2019-12-03 01:44:31

You can fix this in following way.

  1. First go to s3 console in amazon.
  2. Then click on bucket.
  3. Then click on properties tab in right side.
  4. Then click on permission options
  5. Click on add more permission
  6. Check the all checkbox and save it.

I had to go IAM -> Users -> "Attach User Policy" and make my user admin

IAM, Groups where your user have been part of, and add S3FullAccess or S3 ReadOnlyAccess

Turns out my Access Keys were invalid. I had the admin grant me further permissions and it finally worked.

Thanks!!

Stewart

The correct answer to this is definitely: IAM -> Users -> "Attach User Policy" and make your user admin

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