I have made my S3 bucket publicly accessible for my images to show up still access is denied

0

I have made my bucket publically accessible, but when I go to download the images into a CSV file to upload to my social media scheduler, it gives me an error message: access denied.

Sharon
asked 2 months ago111 views
1 Answer
0

To resolve the access denied error when downloading images from your S3 bucket, check the permissions on the bucket and objects.

Make sure the IAM user or role you are using to access S3 has the necessary permissions. The policy should allow the s3:GetObject action on the specific bucket and objects.

Check if your bucket has a Block Public Access setting enabled that could be restricting access. You can modify these settings as needed.

Verify that any object-level ACLs also allow the desired access. ACLs can override the bucket policy permissions.

If the objects are encrypted, the IAM policy also needs kms:Decrypt permissions on the customer master key (CMK).

Test accessing a single object directly with the AWS CLI to validate permissions:

profile picture
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions