aws-token-refresh icon indicating copy to clipboard operation
aws-token-refresh copied to clipboard

This script is not working very well

Open Lysander086 opened this issue 1 year ago • 1 comments

Even I followed the instruction of the Readme.md, I still got lots of errors especially the below one.

2024-11-20 16:05:15 ERROR  : There are no IAM credentials in the profile 'main'. Perhaps you meant to assume a role instead of getting credential directly?

Lysander086 avatar Nov 20 '24 07:11 Lysander086

That means the script couldn't find a key named aws_access_key_id in your profile file. Can you post the contents of your ~/.aws/aws-profiles/main file (redacting your access key id and secret)?

seren avatar Nov 20 '24 22:11 seren