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

How can I skip encrypt? #91

Closed zhaoyi0113 closed 4 months ago

zhaoyi0113 commented 6 months ago

Is there a way to skip encryption when run yawsso -p xxx

victorskl commented 5 months ago

Encrypt (substitution cypher) is yawsso feature. ditto note

victorskl commented 5 months ago

If you want none encrypted cred export into the current shell, you can now directly use aws cli. It comes with this pull https://github.com/aws/aws-cli/pull/7398

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/export-credentials.html

aws configure export-credentials --profile dev --format env | source /dev/stdin