作者:Ben Kehoe
### 作者邮箱:ben@kehoe.io
### 首页:https://github.com/benkehoe/aws-sso-util
### 文档:None
### 下载链接
# aws-sso-util
Making life with AWS SSO a little easier
AWS SSO has some rough edges, and aws-sso-util is here to smooth them out, hopefully temporarily until AWS makes it better.
aws-sso-util contains utilities for the following: * Configuring .aws/config * Logging in/out * AWS SDK support * Looking up identifiers * CloudFormation
The underlying Python library for AWS SSO authentication is aws-sso-lib, which has useful functions like interactive login, creating a boto3 session for specific a account and role, and the programmatic versions of the lookup functions in aws-sso-util.
aws-sso-util supersedes aws-sso-credential-process, which is still available in its original form here. Read the updated docs for aws-sso-util credential-process here.
Quickstart
I recommend you install pipx, which installs the tool in an isolated virtualenv while linking the script you need.
brew install pipx
pipx ensurepath
Other:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
Install
pipx install aws-sso-util
Learn
aws-sso-util --help
Documentation
Copy from pypi.org