AWS Cli authenticator via ADFS - small command-line tool to authenticate via ADFS and assume chosen role
Project description
aws-hcs-cli
Python script for CLI and SDK access to AWS via ADFS while requiring MFA access using https://duo.com/
History and Purpose
Harman used to use "the Legendary" aws-adfs CLI tool to login to our AWS accounts. It worked great, especially the DUO 2FA support. Eventually, I decided to write my own similar tool but make it Harman-specific so that we could tailor it to our needs. Since this tool will be used by Harman employees only I had that option. I then morphed it a little more for our use cases.
DUO 2FA Requirements
In order for Duo 2FA to work properly Automatic Push needs to be enabled.
Installation
Python 3.6+ is recommended as python2 is EOL January 2020.
It is highly recommended to use an application like Pipx to install and use python cli applications.
Follow the pipx installation documentation then simply run pipx install aws-hcs-cli
Experimental Binaries are available on the releases page. These are new and in testing Releases
See the installation options For additional options page for step by step instructions for installing in various environments
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
Built Distributions
File details
Details for the file aws-hcs-cli-1.0.0.tar.gz
.
File metadata
- Download URL: aws-hcs-cli-1.0.0.tar.gz
- Upload date:
- Size: 47.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6012b760e6cbf26d129c060b57f744bcef7708710652f61ba041fadccab39fc8 |
|
MD5 | dce8033cb371bbc38d43ca157538b448 |
|
BLAKE2b-256 | ed4a1228d40c743e1fb087697e4a7e5fcffcf03c89ef2a0910b8e3edc28046f1 |
File details
Details for the file aws_hcs_cli-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: aws_hcs_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e1738fa66e9a5b637eb221277a923de98a1b6d542bbae2775a809eb55e0b8e2 |
|
MD5 | 17a9163236a406e311a4020c8703e2c9 |
|
BLAKE2b-256 | e37e79acb95c8c8b67a5661f5fc83db8ba1158b60ec505847383c69d5fed93c5 |
File details
Details for the file aws_hcs_cli-1-py3-none-any.whl
.
File metadata
- Download URL: aws_hcs_cli-1-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da2254e15ca06ca84a009d9d6b3e1b4a503672815fe1670cc2740b718f6b23c5 |
|
MD5 | f9f8500ae3f893434f6df9496bdb3b87 |
|
BLAKE2b-256 | 172886136516e86d9d4f58599757d2f2667ef71a4d806139e19906efbe5e4af0 |