Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Can't use a default profile #27

Open
sathed opened this issue Oct 30, 2018 · 0 comments
Open

Can't use a default profile #27

sathed opened this issue Oct 30, 2018 · 0 comments

Comments

@sathed
Copy link

sathed commented Oct 30, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants