Closed MikeBourgault closed 4 years ago
Thanks Mike. I particularly like the idea to allow update multiple named profiles. So, I will accept this. It will come with next release 0.3.0
. I will add yawsso default
flag though, for those who wish to use it.
I find, when working with an abundance of different accounts, often times I need to update multiple credentials at once, but perhaps not all of my credentials all the time. I also rarely want to use my default account.
I changed functionality so that without the "--profiles" flag, all profiles are synced with the creds file by default, but with the flag, one can specify what profiles they want to sync, to save time and limit extra creds sitting around.
Example1:
yawsso #all profiles synced with creds file
Example2:yawsso --profiles prod stage #only specified profiles synced with creds file
This is really up to the user-base, but I know my users prefer this type of functionality as an opt-out rather than opt-in feature. No worries if you prefer your workflow as is. 🖖