Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_hcs_cli-6.4.1.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

aws_hcs_cli-6.4.1-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file aws_hcs_cli-6.4.1.tar.gz.

File metadata

  • Download URL: aws_hcs_cli-6.4.1.tar.gz
  • Upload date:
  • Size: 30.7 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.28.2 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for aws_hcs_cli-6.4.1.tar.gz
Algorithm Hash digest
SHA256 57ac93ecd2fcc3a00c22c9cc796ff847c81bb359a10d3c7a197b6ef5a6233a6c
MD5 35c757675d08bd00c207b5554ac9ca08
BLAKE2b-256 7ecb8488275702729d0e12b2905147cb9e781205ebf0fa100c4837e89d30617f

See more details on using hashes here.

File details

Details for the file aws_hcs_cli-6.4.1-py3-none-any.whl.

File metadata

  • Download URL: aws_hcs_cli-6.4.1-py3-none-any.whl
  • Upload date:
  • Size: 42.2 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.28.2 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for aws_hcs_cli-6.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e7b940e755d740026167bd719061114bfef376604e595dbf520f9b79d515df8
MD5 7a0ab961f5a55703d0fa292c64c33d8c
BLAKE2b-256 884a1d986b0a4c14d756422a34007d8418c0590b6f45df42b1c9c65cb6227f5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page