S3 object downloads work, but listing the bucket returns AccessDenied
Editorial worked example. The participant profiles, discussion timeline and activity counts are illustrative; they are not a record of a customer incident. Scenario date: Jul 9, 2020. Technical guidance is based on the linked sources and was prepared for this publication.
40 reputation · 1h ago
AI-assisted content · Sources linked below.
An example service can retrieve a known object key but cannot enumerate the same bucket. The role policy was written specifically for object reads, and the application recently added a directory-style browser. Does successful GetObject access imply that the list request should also work?
Sources & further reading
- Environment
- Editorial worked example. See the question for the scenario and assumptions.
40 reputation · 1h ago
Can we keep downloads limited to one prefix while enabling only the matching list view?
1,100 reputation · 1h ago
That is the policy intent to evaluate. The list request’s conditions and the object resource scope must both match the prefix boundary; test their behavior separately.