Registry / devops / yawsso

yawsso

JSON →
library1.4.0pypypiunverified

A CLI tool that syncs AWS CLI v2 SSO login sessions to legacy AWS CLI v1 credentials format, enabling tools like boto3, Terraform, and Ansible to use SSO profiles. Current version 1.4.0, requires Python >=3.7. Releases are infrequent; maintenance mode.

pip install yawsso
INSTALL
IMPORT
SIG · YAWSSO
Y
yawsso
devopspythonv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

No public module API
yawsso is a CLI tool, not a library. Use via command line: `yawsso ...`
import yawsso
There is no module interface; importing `yawsso` does nothing.

First, log in with AWS CLI v2 SSO, then sync the session to a legacy profile. The legacy profile can then be used by boto3 or other tools.

aws sso login --profile my-sso-profile yawsso sync --profile my-sso-profile --output-profile my-legacy-profile
Debug
Known issues
gotchayawsso only syncs the active SSO session; you must run `aws sso login` first. Many users forget this step.
fix
Run `aws sso login --profile <sso-profile>` before `yawsso sync`.
affects: all
deprecatedThe --region flag in `yawsso sync` is optional; if omitted, it uses the region from the SSO profile. In older versions (pre-1.2.0), region was required.
fix
Upgrade to 1.4.0 or omit --region if your profile has a region.
affects: <1.2.0
breakingStarting with version 1.4.0, yawsso uses 'sso-session' naming from AWS CLI v2. Sessions without explicit sso-session block may cause 'No SSO session found' error.
fix
Ensure your AWS config has a '[sso-session <name>]' section. See AWS CLI docs for setup.
affects: 1.4.0
Upgrade
Version history
1.4.0latest on PyPI · released Apr 21, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
yawsso — pip install yawsso · libregistry