Open sathed opened 5 years ago
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.
^C
After some serious debugging, I discovered that this is because I was using a default profile in my .aws/config:
default
.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.
aws --profile my_profile
I ran in to an issue recently where I kept getting prompted for a password. Entering the correct password resulted in another password prompt:
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
: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.