CLI login to AWS using ADFS
Project description
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.
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
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
adfs-aws-login-0.1.8.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for adfs_aws_login-0.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08ebebd0195f3c3ff0266ab942d455c0096f254ecd537228b3bfae7bb79dbd76 |
|
MD5 | 952a7a52f7f1dd99698feaba28519893 |
|
BLAKE2b-256 | d2b9ce533caf37ffcc84cc50e934093fd3b00e87b5cb77dc8f2fe7a32811c45b |