Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cliveza committed Jan 17, 2018
2 parents bb83b11 + 6f3357a commit 4a1a911
Show file tree
Hide file tree
Showing 19 changed files with 1,345 additions and 753 deletions.
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

0 comments on commit 4a1a911

Please sign in to comment.