Log in to AWS using ADFS
The aim for this is to create a general purpose CLI ADFS login with a limited set of trusted dependencies.
Installation
It's available on PyPI. Install by running pip install adfs-aws-login.
Run
The executable is called adfs-aws-login. Log in with default profile by simply running adfs-aws-login or specify a profile with adfs-aws-login --profile [profile].
See adfs-aws-login -h for more options.
If the environment variable ADFS_DEFAULT_PASSWORD is defined, that will be used as the password.
Configure
Configure the profiles in $HOME/.aws/config. Following is an example with all supported configuration keys (and a few aws default ones):
[profile example]
region=us-east-1
output=json
adfs_login_url=https://login.example.com/adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices
adfs_default_username=test.user@example.com
adfs_role_arn=arn:aws:iam::1234567890:role/DeployRole
adfs_session_duration=8
Metadata
Release files for adfs-aws-login 0.2.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adfs-aws-login-0.2.11.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adfs_aws_login-0.2.11-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / adfs-aws-login-0.2.11.tar.gz
| Download URL | adfs-aws-login-0.2.11.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab7c70caa549c67ca4f1ff4fcf7cc6dfc86d50345f6bdf256154a383d940d4e7
|
|
BLAKE2b-256 checksum How to use checksums |
8c3ae5c1de86474f6019d4d38af46c7bbffa542eaa99c6e463cb478b7fc27987
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Release files / adfs_aws_login-0.2.11-py2.py3-none-any.whl
| Download URL | adfs_aws_login-0.2.11-py2.py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9dc3e1e308a33764f3917fcf70684edaf3081041d9e77d28f0db566847f81fc9
|
|
BLAKE2b-256 checksum How to use checksums |
cc483c2b1f5aeade607302b7002e1b581b47f793c5ae5c464fa0edb11028e56c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|