Metadata-Version: 2.0
Name: cloudformation-utils
Version: 0.0.1
Summary: Utility functions for working with AWS CloudFormation templates
Home-page: http://github.com/NitorCreations/cloudformation-utils
Author: Pasi Niemi
Author-email: pasi.niemi@nitor.com
License: Apache 2.0
Download-URL: https://github.com/NitorCreations/cloudformation-utils
Platform: UNKNOWN
Description-Content-Type: text/markdown

# Log in to AWS using ADFS

The aim for this is to create a general purpose CLI ADFS login with a limited set of trusted dependencies.

[![Codeship Status for NitorCreations/cloudformation-utils](https://app.codeship.com/projects/39311e10-ce2c-0137-479b-3eefd6c4e4a3/status?branch=master)](https://app.codeship.com/projects/368815)

## Installation

It's [available on PyPI](https://pypi.org/project/cloudformation-utils/). Install by running `pip install cloudformation-utils`.

## Run

The executable is called `cloudformation-utils`. Log in with default profile by simply running `cloudformation-utils` or specify a profile with `cloudformation-utils --profile [profile]`. 

See `cloudformation-utils -h` for more options.

## Configure

Configure the profiles in `$HOME/.aws/config`. Following is an example with all supported configuration keys (and a few aws default ones):
```
[profile example]
region=us-east-1
output=json
adfs_login_url=https://login.example.com/adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices
adfs_default_username=test.user@example.com
adfs_role_arn=arn:aws:iam::1234567890:role/DeployRole
adfs_session_duration=8
```


