Skip to main content

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.

Codeship Status for NitorCreations/adfs-aws-login

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

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

adfs-aws-login-0.2.11.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adfs_aws_login-0.2.11-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file adfs-aws-login-0.2.11.tar.gz.

File metadata

  • Download URL: adfs-aws-login-0.2.11.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for adfs-aws-login-0.2.11.tar.gz
Algorithm Hash digest
SHA256 ab7c70caa549c67ca4f1ff4fcf7cc6dfc86d50345f6bdf256154a383d940d4e7
MD5 120ac1594c13e5077cfab1959d7e9591
BLAKE2b-256 8c3ae5c1de86474f6019d4d38af46c7bbffa542eaa99c6e463cb478b7fc27987

See more details on using hashes here.

File details

Details for the file adfs_aws_login-0.2.11-py2.py3-none-any.whl.

File metadata

  • Download URL: adfs_aws_login-0.2.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for adfs_aws_login-0.2.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9dc3e1e308a33764f3917fcf70684edaf3081041d9e77d28f0db566847f81fc9
MD5 d3f92cf9db41554998fdd7c5a981e1c3
BLAKE2b-256 cc483c2b1f5aeade607302b7002e1b581b47f793c5ae5c464fa0edb11028e56c

See more details on using hashes here.

Supported by

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