2 Answers
- Newest
- Most votes
- Most comments
0
Hi
The command assume-role output the temporary credentials. You must use these credentials when making your aws s3 ls call.
Please see this guide. Hope it helps.
0
Hi, I suggest you to check the identity under which run the s3 ls via aws sts get-caller-identity.
Sometimes your run CLI commands under under another identity than the one you believe due to env vars, default profile, etc.
It happens to me sometimes...
Best,
Didier
Relevant content
asked 3 years ago
