Skip to content

Commit

Permalink
Major Codebase Refactor for Easier Maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Ide committed Jan 8, 2018
1 parent 50bcd11 commit 0535c37
Show file tree
Hide file tree
Showing 16 changed files with 950 additions and 767 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
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,11 @@ Storage of profile credentials

Through the use of AWS profiles, using the ``-p`` or ``--profile`` flag, the ``aws-google-auth`` utility will store the supplied username, IDP and SP details in your ``./aws/config`` files.

When re-authenticating using the same profile, the values will be remembered to speed up the re-authentication process.
This enables an approach that enables you to enter your username, IPD and SP values once and then after only need to re-enter your password (and MFA if enabled).

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


Notes on Authentication
Expand Down
Loading

0 comments on commit 0535c37

Please sign in to comment.