S3 object downloads work, but listing the bucket returns AccessDenied
Editorial Q&A · Published for learning, with scripted participants and replies. Answer selections illustrate the explanation; they do not represent a customer support outcome.
40 reputation · 2h ago
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?
- Environment
- Editorial worked example. See the question for the scenario and assumptions.
1,100 reputation · 2h 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.