Skip to content

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