aws s3api returns "access denied" if object does not exist and list permissions are not provided #2041
Labels
closing-soon
This issue will automatically close in 4 days unless further comments are made.
guidance
Question that needs advice or information.
service-api
This issue is due to a problem in a service API, not the SDK implementation.
When attempting to retrieve an object that does not exist from a bucket with
aws s3api get-object --bucket <bucket> --key <object_key>
, I received:instead of:
Only
GetObject
permissions were provided for the IAM role performing theget-object
request.The text was updated successfully, but these errors were encountered: