victorskl / yawsso

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

Request: do not put region into the profile written to ~/.aws/credentials #76

Closed et304383 closed 1 year ago

et304383 commented 1 year ago

I am not using any given region by default, and do not want the following in my profiles after calling yawsso:

region = us-east-1

Please provide support for not writing this value, as right now I have to sed afterwards to delete these lines.

victorskl commented 1 year ago

Okay! I will need to investigate this a bit. I got feedback about this region flag from elsewhere, too. I will dig AWS doc again to understand better.

victorskl commented 1 year ago

Ok; I don't find any doc evidence that region must exist in ~/.aws/credentials. So. I will be removing it, yes. 🙂

victorskl commented 1 year ago

This is now avail for public review with rc2.

https://pypi.org/project/yawsso/1.1.0rc2/

pip install -U yawsso==1.1.0rc2

I will test it myself a bit; these days. If all good, it will come GA when closing 1.1.0 milestone.

victorskl commented 1 year ago

This is now released and GA. https://github.com/victorskl/yawsso/releases/tag/1.1.0

pip install -U yawsso==1.1.0