yawsso
Yet Another AWS SSO - sync up AWS CLI v2 SSO login session to legacy CLI v1 credentials
What it is and what it does
yawsso bridges the gap between AWS CLI v2's SSO authentication and tools that only understand AWS CLI v1 credential files. When you log in via AWS SSO with CLI v2, your session is cached locally but not automatically written to the legacy credentials file that older tools expect. This package reads your active SSO session and writes temporary credentials into the standard AWS credentials file, making them available to any tool that reads that file.
The tool runs as a command-line utility with no runtime dependencies, offering flexible profile selection (single, multiple, pattern-matched, or all profiles), credential renaming on sync, token export with ROT13 encoding, and integrated login-then-sync workflows. It's designed for teams already using AWS SSO who need to work with tools like Terraform, CDK, or custom scripts that predate or don't support SSO natively.
Use it for:
- Sync SSO credentials to legacy format so Terraform, CDK, or other tools can authenticate without SSO support.
- Export temporary credentials as environment variables for use on ephemeral instances or CI/CD runners.
- Rename SSO profiles during sync to match tool-specific naming conventions or avoid conflicts.
- Automate credential refresh in shell scripts by running yawsso before invoking AWS-dependent tools.
- Copy time-gated access tokens to clipboard for manual use on external systems or shared machines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Syncs AWS CLI v2 SSO login sessions into legacy AWS CLI v1 credentials format, allowing tools that don't support SSO to use temporary credentials from your SSO setup.
Yes. If you use AWS SSO with CLI v2 but also rely on tools that only read legacy credentials, this solves a real friction point with no dependencies and active maintenance. The MIT license and zero security vulnerabilities make it safe to adopt. Install it if you're bridging SSO and older AWS tooling.
Install
yawsso on PyPI
pip
pip install yawssouv
uv add yawssopoetry
poetry add yawssoInstalling yawsso
Before you install
Low friction installation with no runtime dependencies. Active maintenance with recent commits and a stable release history since 2020.
License in practice
MIT license is permissive; you can use this freely in commercial and private projects with minimal restrictions.
Quickstart
pip install yawsso
# After AWS SSO login
aws sso login --profile dev
# Sync credentials to legacy format
yawsso -p dev
Requires Python >= 3.7 and AWS CLI v2 already installed and configured with SSO.
Verify before relying
- Whether pyperclip integration (optional dependency for clipboard support) is included in the base install or requires explicit installation.
- Exact behavior and security implications of ROT13 token export when used on shared systems.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 115 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,865/month — #14,918 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: yawsso-1.4.0-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
aws-sso-libProgrammatically interact with AWS IAM Identity…
permissive · top 15,000 on PyPI
gimme-aws-credsA CLI tool that obtains temporary AWS…
permissive · top 15,000 on PyPI
aws-sso-utilaws-sso-util provides command-line utilities…
permissive · top 15,000 on PyPI
requests-aws-signAdds AWS V4 request signing to the requests…
permissive · top 5,000 on PyPI
awscliv2Provides a Python wrapper around AWS CLI v2,…
permissive · top 15,000 on PyPI
grafana-django-saml2-authA compatibility shim that redirects to…
permissive · top 15,000 on PyPI
aws-assume-role-libSimplifies AWS role assumption in boto3 by…
permissive · top 15,000 on PyPI
django-google-ssoAdds Google OAuth 2.0 authentication to Django…
permissive · top 15,000 on PyPI
docker-pycredsProvides Python bindings to interact with…
permissive · top 5,000 on PyPI
awscurlA curl-like command-line tool that…
permissive · top 15,000 on PyPI