Google SAML Auth
This is a utility to obtain temporary Amazon Web Services (AWS) Security Token Service (STS) credentials for use on the local Command Line Interface (CLI).
This is an enhancement on the popular AWS Google Auth application, which uses a requests library to authenticate to Google before authenticating to AWS via SAML.
This application works similarly, however bypasses the need to authenticate into Google by using the user's existing Google web browser session to post the SAML assertion used for AWS authentication back to this application via local HTTP callback.
Getting Started
This project relies on Python (specifically, we've only tested on Python 3). Please first install Python3 using Brew
brew install python
You'll then need to configure profiles to use in your ~/.aws/config file. An example below:
[profile profile-name]
region = ap-southeast-2
account = 123456789012
google_config.google_idp_id = ABCDE1234
google_config.role_name = production-engineer
google_config.google_sp_id = 000000000000
Running the application
Ready? Start the app with the following command
python3 google-saml-auth.py --profile profile-name
Administrator Instructions
// TODO: How to setup application in Google SAML Console
Metadata
Release files for aws-google-saml 2024.716.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws_google_saml-2024.716.3.tar.gz | 7.5 kB | Without provenance | Details for aws_google_saml-2024.716.3.tar.gz |
Release files / aws_google_saml-2024.716.3.tar.gz
| Download URL | aws_google_saml-2024.716.3.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da31c6d13c83485b6c92027f56d4df8532263fd1749ea10cba1778b15877f784
|
|
BLAKE2b-256 checksum How to use checksums |
3e898382720147070e0e2e5be8e8b1aab1204debb27e19bcf72481c5dfeed9b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for aws-google-saml 2024.716.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.