A CLI tool to automate AWS SSO login. It uses selenium with chrome under the hood.
1. Install with pipx
pipx install auto-aws-sso
2. Run first time with --no-headless
You need that to save your browser user data. Browser will be opened by auto-aws-sso.
auto-aws-sso --no-headless
How it works
Script reads aws sso login output from stdin and parses it. Then it opens chrome with user data dir and navigates to AWS SSO login page. After that it fills the form and submits it. Finally it waits for aws sso to confirm login and then it closes chrome. There is default headless mode so you won't see anything. If you want to see what's going on you can use --no-headless option. It will open chrome and you will see what's going on.
Prerequisites
You need google-chrome installed and in your PATH.
Metadata
Release files for auto-aws-sso 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| auto_aws_sso-1.0.1.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auto_aws_sso-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.0 kB
Release files / auto_aws_sso-1.0.1.tar.gz
| Download URL | auto_aws_sso-1.0.1.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03ad7e7932aa1e112b0d96451495690ab0eefd0d39f459115f5214d95ab07275
|
|
BLAKE2b-256 checksum How to use checksums |
e7bf85ff5bdf06a3edcc6f29576e527feeb0ffd46d21baf240b0d351513d10a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / auto_aws_sso-1.0.1-py3-none-any.whl
| Download URL | auto_aws_sso-1.0.1-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b92c08b607c671f40580acfec719e9392dcf19f3254108f80c66d8f247d4de1
|
|
BLAKE2b-256 checksum How to use checksums |
e98257d5250dc05786d3dcb682b0d760d2cb1973125f881f67f33d118e77a57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|