A tool to automate AWS SSO login
Project description
A CLI tool to automate AWS SSO login. It uses selenium with chrome under the hood.
1. Install with pipx
pipx install fck-aws-sso
2. Run first time with --no-headless
You need that to save your browser user data. BROWSER=true
is hack so aws sso won't open browser. Browser will be opened by fck-aws-sso
.
BROWSER=true aws sso login | fck-aws-sso --no-headless
3. Add to .bashrc
or .zshrc
BROWSER=true aws sso login | fck-aws-sso
4. Forget that you ever had to login to AWS SSO manually.
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
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fck_aws_sso-0.2.5.tar.gz
.
File metadata
- Download URL: fck_aws_sso-0.2.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f08a30c6f4b87c431d7eb2ad3c953aa855e4a55b28b6eb0b1b1b8d0eb38a62c |
|
MD5 | 57c50e2df6cbb81a936b904219e42085 |
|
BLAKE2b-256 | d7a47e04273b90eea22b468782f4ec875c1e641711617f0156d99a51e926c5d0 |
File details
Details for the file fck_aws_sso-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: fck_aws_sso-0.2.5-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 370730e7f9f6b780f538f237fcb8a6e6fb24d71e55e6c550420879ea5e145ce6 |
|
MD5 | 39084b837109cb38d186c6e9efaec3f2 |
|
BLAKE2b-256 | 3d235213815bae99500d337db4f5177e5b3c5843a5526428128b4fc3d53a7874 |