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

Add support for a system default credentials file. #33

Merged
merged 3 commits into from
Jul 10, 2015

Conversation

mr-salty
Copy link
Contributor

The path is:

  • windows: %ProgramData%\Google\Auth\application_default_credentials.json
  • other: /etc/google/auth/application_default_credentials.json

The path is:
  - windows: %ProgramData%\Google\Auth\application_default_credentials.json
  - other: /etc/google/auth/application_default_credentials.json
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 29, 2015
I have another outstanding PR to fix these; so avoid introducing
another one here.
fix failures due to:
- misformatting of wrapped lines
- a superflous block (and temp dir creation) due to overzealous cut & paste.
@mr-salty
Copy link
Contributor Author

mr-salty commented Jul 7, 2015

FYI - coverage decrease is due to not testing the windows? codepath

@tbetbetbe
Copy link
Contributor

LGTM

fakefs is quite nice, I just added #40 from seeing it used here.

tbetbetbe added a commit that referenced this pull request Jul 10, 2015
Add support for a system default credentials file.
@tbetbetbe tbetbetbe merged commit 1463e5f into googleapis:master Jul 10, 2015
@mr-salty mr-salty deleted the add-system-default-creds-path branch July 10, 2015 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants