Metadata-Version: 2.1
Name: aws-google-saml
Version: 0.8.1
Summary: A user-browser driven SAML authentication tool for AWS
Home-page: https://github.com/bengieeee/aws-google-saml
Download-URL: https://github.com/bengieeee/aws-google-saml/archive/refs/tags/0.7.1.tar.gz
Author: bengieeee
License: MIT
Keywords: aws,aws-cli,saml,google,google-saml,google-saml-aws
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENCE

# 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](https://github.com/cevoaustralia/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

```sh
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 = 453559030913
google_config.google_idp_id = C01g1l5do
google_config.role_name = assumed-ins-tech-lead
google_config.google_sp_id = 705835944086

```

### Running the application

Ready? Start the app with the following command

```sh
python3 google-saml-auth.py --profile profile-name
```
