Metadata-Version: 2.1
Name: aws-cli-sso
Version: 0.0.1
Summary: A tool that you can use to SSO and reload aws session in credentials file.
Home-page: http://packages.python.org/aws-cli-sso
Author: Rohit Garg
Author-email: rohitgarg19@gmail.com
License: MIT
Keywords: aws sso saml auth assume role sts
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: End Users/Desktop
Classifier: Topic :: Utilities
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: selenium
Requires-Dist: boto3

# 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```


