Using credential based profiles (not role based profiles)
terodox opened this issue · 0 comments
terodox commented
Describe the bug
When using a profile that has an access-key-id and secret-access-key.
Steps to reproduce
Steps to reproduce the behavior:
- Create a profile with an
aws_access_key_id
andaws_secret_access_key
- Run
awsudo --profile my_credentials_profile aws s3 ls
- See error
Expected behavior
When using awsudo with the --profile
switch, I should be able to use a profile with credentials that override my environments crednetials.
Screenshots
N/A
Environment (anything that would help us investigate the bug)
- OS MacOS
- Version Monterey