A program to simplify logging in and setting credentials using AWS SSO.
Project description
# aws-sso-cli
A program to simplify logging in and setting credentials using AWS
SSO.
## Usage
Running `aws-sso-cli` with no arguments will check if you are logged
in, and log in with `aws sso login` if you are not. It will
additionally create or update your credentials file (in either
`$AWS_SHARED_CREDENTIALS_FILE` if defined or defaulting to
`$HOME/.aws/credentials`) after logging in and will attempt to log you
into AWS ECR if docker is running.
You can use a different profile than `default` or the normal
`AWS_PROFILE` environment variable by using the `--profile` flag.
If you want to log in even if you are already logged in, pass the
`--force` flag.
If you want to log into AWS ECR only, pass the `--docker-force` flag.
This is useful if you start the docker daemon after already running
`aws-sso-cli`.
## Requirements
Actually signing in to AWS requires the
[aws-cli](https://github.com/aws/aws-cli) program. This also requires
Python to be installed and the boto3 library.
## Development
Run `make test` to generate a virtual environment and run tests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws-sso-cli-0.4.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for aws_sso_cli-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51bde70d07b6f6cdcee5e6d89ad7694ced2f05d13e5f4c9b172ac7c874c3b2e7 |
|
MD5 | 7ed010827f08ba2b4f9fafc54033622b |
|
BLAKE2b-256 | 2724420a8a5e20e1fa0cca0fdb1cf0b5bb1c8e950acf54fe0c57c869c99923fd |