Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major Codebase Refactor for Easier Maintenance #38

Merged
merged 13 commits into from
Jan 17, 2018
Merged
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
Expand All @@ -11,7 +10,9 @@ install:
- pip install .
- pip install coverage
- pip install coveralls
- pip install flake8
script:
- flake8 --ignore E501,E722
- coverage run --source=aws_google_auth/ --omit=aws_google_auth/tests/* setup.py test
after_script:
- coverage report
Expand Down
10 changes: 9 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,15 @@ This enables an approach that enables you to enter your username, IPD and SP val

Creating an alias as below can be a quick and easy way to re-authenticate with a simple command shortcut.

``alias aws-development='unset AWS_PROFILE; aws-google-auth -p aws-dev; export AWS_PROFILE=aws-dev'``
```
alias aws-development='unset AWS_PROFILE; aws-google-auth -I $GOOGLE_IDP_ID -S $GOOGLE_SP_ID -u $USERNAME -p aws-dev ; export AWS_PROFILE=aws-dev'
```

Or, if you've alredy established a profile with valid cached values:

```
alias aws-development='unset AWS_PROFILE; aws-google-auth -p aws-dev ; export AWS_PROFILE=aws-dev'
```


Notes on Authentication
Expand Down
Loading