Can't use a default profile
sathed opened this issue · 0 comments
sathed commented
I ran in to an issue recently where I kept getting prompted for a password. Entering the correct password resulted in another password prompt:
$ aws s3 ls
Password:
Password:
Password:
It keeps doing this until I enter an incorrect password or ^C
out of it.
After some serious debugging, I discovered that this is because I was using a default
profile in my .aws/config
:
[profile default]
credential_process = awsprocesscreds-saml ...
Changing that to anything other than default
fixes the problem.
Does anyone know a way around this? For an interim fix, I've created a bash alias that invokes aws --profile my_profile
, but a real fix would be nice to have.