GetObjectCommand not working with IAM roles #6773
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Checkboxes for prior research
Describe the bug
Regression Issue
SDK version number
@aws-sdk/client-s3 3.721.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.12.0
Reproduction Steps
Observed Behavior
GetObjectCommand not working with IAM role policy throwing error Credential is missing while ListObjectsv2Command does not throw that GetObjectCommand properly work when i give s3config with hardcoded access and secret access keys it works perfectly
Expected Behavior
GetObjectCommand should work with IAM role provided secret and access keys as ListObjectsV2Command is working properly with IAM roles and permission for s3 bucket in IAM role and even bucket policy is properly configured checked that as well
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: