Magic credentials on the AWS CLI home using AWS SSO login
Project description
aws-sso-magic tool cli
This Docker image updates the aws credentials file for the default profile from the aws sso login. At the moment you should copy/paste the url in your browser and complete the login process.
This Docker solution mixed the following repositories:
- aws-sso-util 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-credentials A simple Python tool to simplify getting short-term credential tokens for CLI/Boto3 operations when using AWS SSO.
Content of the repository
- src - The main folder with the aws_sso_magic folder with the .py files & the requirements.txt.
- docker-build.sh - A docker build tool (Linux/MacOS) to build the docker image locally.
sudo ./docker-build.sh
- pyproject.toml - The metadata file with the dependencies and application information.
- Dockerfile - The docker file with the instructions to build the aws-sso-magic cli.
Installing aws-sso-magic tool from pyp.org
Prerequisites
- Python 3.9 installed.
- AWS CLI v2 installed, please click on the link depending of your OS.
Installation Steps
pip install aws-sso-magic
How to use
- Execute the following command to configure the sso tool:
aws-sso-magic configure
- Type the sso url, sso_region, and the rest of information.
- Execute the following command to log:
aws-sso-magic login
- Select the profile to use.
How to use with pyp installer
-
Follow the pyp aw-sso-magic project instructions.
NOTE: You will need the aws cli v2 installed previously.
Prerequisites
- Python 3.9 installed.
- AWS CLI v2 installed, please click on the link depending of your OS.
Installation Steps
pip install aws-sso-magic
How to use with Docker
- Please follow the instructions from the docker hub repository of aws_sso_magic
Docker Hub
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-magic-1.0.15.tar.gz
(15.9 kB
view hashes)
Built Distribution
Close
Hashes for aws_sso_magic-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b0763ef96172c78e4316fdd9a5f8b54d33141accbe6aef12d05980f4f49936 |
|
MD5 | ed2f27895a205af7f2f7ad95e0288d3b |
|
BLAKE2b-256 | da999e4c1f0ebb8787c61da62b420d87f9496df0420dbaeeb1153432b6ff2a26 |