victorskl / yawsso

Yet Another AWS SSO - sync up AWS CLI v2 SSO login session to legacy CLI v1 credentials
MIT License
304 stars 27 forks source link

support for reading aws credentials & config file from environment variables... #18

Closed tekdj7 closed 4 years ago

tekdj7 commented 4 years ago

Read Environment Variables below to determine where to check for aws credentials and config. I have folders that each have their own aws credentials/config files for said AW accounts. My sso cache is still located in default location: ~/.aws/sso

AWS_SHARED_CREDENTIALS_FILE AWS_CONFIG_FILE

See https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

victorskl commented 4 years ago

Right! This is doable, accepted.

victorskl commented 4 years ago

Come with PR https://github.com/victorskl/yawsso/pull/21 User test available with pip install -U yawsso==0.5.0rc1

victorskl commented 4 years ago

Closed with #23 and GA now with pip install -U yawsso==0.5.0