Skip to main content

A tool that you can use to SSO and reload aws session in credentials file.

Project description

# AWS SAML Login Works cross platform (Win, Unix, MacOS) Was having a real hard time trying to get cli credentials via SAML SSO so thought about writing this small utility. I can run this daily every morning to get a 12 hour session for myself. Hope you’d find it interesting and useful.

Looking forward to contributions!!

## Prerequisites

Need to install * Chromedriver * Google Chrome * Python 2/3

Make sure all the above software are setup properly in PATH environment variable

## Executing

Add properties to your AWS credentials file

`ini [some-profile] saml_sso_url = <url you use for saml> saml_role_arn = <your iam role to assume> saml_principal_arn = <your saml app arn> saml_duration = <duration of session in seconds> `

Run `shell python -m aws-saml `

## Installation `pip install aws-cli-sso`

## Local development/testing * `pip install -r requirements.txt` * `python -m aws-saml`

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-cli-sso-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

aws_cli_sso-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file aws-cli-sso-0.0.1.tar.gz.

File metadata

  • Download URL: aws-cli-sso-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for aws-cli-sso-0.0.1.tar.gz
Algorithm Hash digest
SHA256 38e836eac057143c958227e4e01b3c9aa4752937fc6f49fd947b24a67961a06c
MD5 f36d6758e082af6e6ea5e03784ef033d
BLAKE2b-256 ea8368942d5e0b06e68fb4319a8b8837534022875072319338d06f5b3104f2b0

See more details on using hashes here.

File details

Details for the file aws_cli_sso-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aws_cli_sso-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for aws_cli_sso-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a79e5e6cb19ddb9a653c7a4ae09c890053294d3d1fa0e25b983d070a0b5f2848
MD5 8d7ef0f3fed2bf6e5acd262037e0182d
BLAKE2b-256 2255581a68b3289e92ea7b8d4f1bd4a1fe87929e53dfab4b7ded723c3cebdbfa

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