aws-google-saml


Nameaws-google-saml JSON
Version 2023.1031.17 PyPI version JSON
download
home_pagehttps://github.com/bengieeee/aws-google-saml
SummaryA user-browser driven SAML authentication tool for AWS
upload_time2023-10-31 12:35:57
maintainer
docs_urlNone
authorbengieeee
requires_python
licenseMIT
keywords aws aws-cli saml google google-saml google-saml-aws
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```conf

[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

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

### Administrator Instructions

// TODO: How to setup application in Google SAML Console

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/bengieeee/aws-google-saml",
    "name": "aws-google-saml",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "aws,aws-cli,saml,google,google-saml,google-saml-aws",
    "author": "bengieeee",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/6e/37/5aa8fd0581790be0d5699c164d5c49b8c2732e86c7e01c0b5a79b980e995/aws-google-saml-2023.1031.17.tar.gz",
    "platform": null,
    "description": "# Google SAML Auth\n\nThis is a utility to obtain temporary Amazon Web Services (AWS) Security Token Service (STS) credentials for use on the local Command Line Interface (CLI).\n\nThis 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.\n\nThis 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.\n\n## Getting Started\n\nThis project relies on Python (specifically, we've only tested on `Python 3`). Please first install Python3 using Brew\n\n```sh\nbrew install python\n```\n\nYou'll then need to configure profiles to use in your `~/.aws/config` file. An example below:\n\n```conf\n\n[profile profile-name]\nregion = ap-southeast-2\naccount = 123456789012\ngoogle_config.google_idp_id = ABCDE1234\ngoogle_config.role_name = production-engineer\ngoogle_config.google_sp_id = 000000000000\n\n```\n\n### Running the application\n\nReady? Start the app with the following command\n\n```sh\npython3 google-saml-auth.py --profile profile-name\n```\n\n### Administrator Instructions\n\n// TODO: How to setup application in Google SAML Console\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A user-browser driven SAML authentication tool for AWS",
    "version": "2023.1031.17",
    "project_urls": {
        "Download": "https://github.com/bengieeee/aws-google-saml/archive/refs/tags/0.7.1.tar.gz",
        "Homepage": "https://github.com/bengieeee/aws-google-saml"
    },
    "split_keywords": [
        "aws",
        "aws-cli",
        "saml",
        "google",
        "google-saml",
        "google-saml-aws"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e375aa8fd0581790be0d5699c164d5c49b8c2732e86c7e01c0b5a79b980e995",
                "md5": "4ecd3b25708fa7b377f6afbd395b5143",
                "sha256": "41150d8deeb0b2b558897c9290238f3eb52f001ef5e78666e170e6b0cc9aa13b"
            },
            "downloads": -1,
            "filename": "aws-google-saml-2023.1031.17.tar.gz",
            "has_sig": false,
            "md5_digest": "4ecd3b25708fa7b377f6afbd395b5143",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7496,
            "upload_time": "2023-10-31T12:35:57",
            "upload_time_iso_8601": "2023-10-31T12:35:57.885299Z",
            "url": "https://files.pythonhosted.org/packages/6e/37/5aa8fd0581790be0d5699c164d5c49b8c2732e86c7e01c0b5a79b980e995/aws-google-saml-2023.1031.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-31 12:35:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bengieeee",
    "github_project": "aws-google-saml",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "aws-google-saml"
}
        
Elapsed time: 0.14474s