aws-token-refresh
aws-token-refresh copied to clipboard
This script is not working very well
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?
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)?