QuestionQ49

VerifiedSecurity

A company operates an online web application with a product catalog. The catalog is stored in an Amazon S3 bucket named DOC-EXAMPLE-BUCKET. Through an IAM policy, the application must be able to list the objects in the S3 bucket and download objects.

Which policy provides the minimum access needed to satisfy these requirements?

Explanation

s3:ListBucket is the permission required to list objects and applies to the bucket ARN. s3:GetObject permits downloading objects and applies to object ARNs, including arn:aws:s3:::DOC-EXAMPLE-BUCKET/*. Granting only these permissions provides the required read and list capabilities without allowing writes, deletes, or other S3 actions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!