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

Update GoogleAuth #105

Merged
merged 4 commits into from
Mar 24, 2015
Merged

Update GoogleAuth #105

merged 4 commits into from
Mar 24, 2015

Conversation

blowmage
Copy link
Contributor

Add support for the Cloud SDK's credential application file as well as Google Compute Engine.

[Resolves #102]

@blowmage blowmage added the auth label Mar 24, 2015
Look for the default application credentials file.
This file is created by the gcloud application.
File.file? ensures that the path is a file, while File.exist? will return true for a directory.
The logic to determine default credenitals is about to become more complex.
This new method will be where the heavy lifting will take place.
The googleauth library is now used by google_api_client, and it supports
resolving the application default settings from ENV and from GCE.
blowmage added a commit that referenced this pull request Mar 24, 2015
Add support for the Cloud SDK's credential application file as well as Google Compute Engine.

[Closes #102]
@blowmage blowmage merged commit 407d967 into googleapis:master Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple authentication when running in GAE + GCE (or locally via Cloud SDK)
1 participant