aws-sso-util
Utilities to make AWS SSO easier
What it is and what it does
aws-sso-util is a command-line tool and Python library that smooths over operational friction when using AWS IAM Identity Center (formerly AWS SSO). It wraps aws-sso-lib to provide utilities for configuring your .aws/config file, logging in and out, integrating with the AWS SDK, looking up account and role identifiers, and working with CloudFormation. The package is designed as a temporary bridge until AWS improves Identity Center's user experience.
The tool is typically installed via pipx to keep it isolated, then used as a CLI for common Identity Center tasks. Developers can also import aws-sso-lib directly in Python code to create boto3 sessions for specific accounts and roles programmatically. The package depends on standard AWS tooling (boto3), configuration parsing (pyyaml, jsonschema), and HTTP utilities (requests), making it a lightweight addition to an AWS-focused workflow.
Use it for:
- Automate .aws/config setup for teams using Identity Center instead of manual IAM user credentials.
- Create temporary boto3 sessions for a specific AWS account and role without manual credential copying.
- Build CLI workflows that log in to Identity Center and manage session state across multiple accounts.
- Integrate Identity Center authentication into Python applications that need programmatic AWS access.
- Look up AWS account IDs and role names from Identity Center without navigating the AWS console.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
aws-sso-util provides command-line utilities and a Python library to work around rough edges in AWS IAM Identity Center, handling configuration, login/logout, SDK integration, identifier lookup, and CloudFormation tasks.
Yes, if you use AWS IAM Identity Center and want to reduce friction in credential management and configuration. The package is stable (Apache-2.0, no known vulnerabilities), has low install friction, and solves a real operational problem. The 803-day release gap is a minor concern given recent repository activity, but check whether your Identity Center setup matches the utilities' scope before committing.
Install
aws-sso-util on PyPI
pip
pip install aws-sso-utiluv
uv add aws-sso-utilpoetry
poetry add aws-sso-utilInstalling aws-sso-util
Before you install
Low install friction: pure Python wheel with eight runtime dependencies (click, boto3, pyyaml, jsonschema, aws-error-utils, python-dateutil, aws-sso-lib, requests). Maintenance status is aging—last release was 803 days ago (2024-06-02), though the repository remains active with a recent commit (2025-08-26) and 1053 stars.
License in practice
Apache-2.0 permissive license: you can use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
# Install via pipx (recommended for CLI tools)
pipx install aws-sso-util
# Or via pip
pip install aws-sso-util
# Use the CLI
aws-sso-util --help
# Or import the underlying library
from aws_sso_lib import get_login_session
session = get_login_session(start_url='...', sso_region='...')
Requires AWS credentials or Identity Center configuration to function; the underlying aws-sso-lib handles authentication interactively.
Verify before relying
- Whether the 803-day gap since last release indicates active maintenance or dormancy despite recent commits.
- Specific Identity Center features or edge cases the utilities address beyond the five categories listed.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — click, boto3, pyyaml, jsonschema, aws-error-utils, python-dateutil, aws-sso-lib, requests |
| Maintenance | aging — 803 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,504/month — #13,723 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_sso_util-4.33.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
yawssoSyncs AWS CLI v2 SSO login sessions into legacy…
permissive · top 15,000 on PyPI
gimme-aws-credsA CLI tool that obtains temporary AWS…
permissive · top 15,000 on PyPI
requests-negotiate-sspiAdds HTTP Negotiate authentication…
permissive · top 15,000 on PyPI
apache-airflow-providers-keycloakIntegrates Keycloak identity and access…
permissive · top 15,000 on PyPI
google-cloud-os-loginPython client library for Google Cloud OS…
permissive · top 1,000 on PyPI
google-cloud-iamProvides a Python client library for Google…
permissive · top 5,000 on PyPI
requests-aws-signAdds AWS V4 request signing to the requests…
permissive · top 5,000 on PyPI
fastapi-ssoFastAPI plugin that adds single sign-on (SSO)…
permissive · top 5,000 on PyPI
internetarchiveProgrammatic and command-line interface to…
agpl · top 15,000 on PyPI