Ruby Amazon S3 Access Denied when listing buckets
I had to go IAM -> Users -> "Attach User Policy" and make my user admin
You can fix this in following way.
- First go to s3 console in amazon.
- Then click on bucket.
- Then click on properties tab in right side.
- Then click on permission options
- Click on add more permission
- Check the all checkbox and save it.
IAM, Groups where your user have been part of, and add S3FullAccess or S3 ReadOnlyAccess