broamski / aws-mfa

Manage AWS MFA Security Credentials
MIT License
1.01k stars 163 forks source link

Respect AWS_SHARED_CREDENTIALS_FILE env variable #66

Open shanmugakarna opened 2 years ago

shanmugakarna commented 2 years ago

Current implementation has hardcoded AWS_CREDS_PATH.

This patch modifies it to respect AWS_SHARED_CREDENTIALS_FILE if set, otherwise to default.

lucienboland commented 2 years ago

This would be a nice addition!

bartverbruggen commented 2 years ago

@broamski Are there any plans on implementing this?

jpriebe commented 8 months ago

Please accept this pull and merge it - it would make it easier to build automation around aws-mfa. I don't want to modify my credentials file for a short-term temporary login to an EKS cluster that I rarely connect to.