GeezerVison is showing github.com — Simple authentication when running in GAE + GCE (or locally via Cloud SDK) · Issue #102 · googleapis/google-cloud-ruby
Simple authentication when running in GAE + GCE (or locally via Cloud SDK) #102
Description
Ideally we can "figure out" the environment and "just use the right credentials".
Order of eval should be the same as Python:
- Specific credentials provided in code
- Specific credentials provided in env var
- Credential available in the Cloud SDK's magic path
GAE credentials (magically discovered)
- GCE credentials (magically discovered)
Activity
added this to the
This milestone has been deleted milestone
on Mar 2, 2015blowmage commented on Mar 24, 2015
@jgeewax We already support 1 and 2, and I have code for 3. It looks to me that the "magically discovered" credentials will be supported in google-auth-library-ruby. I think it would make more sense to wait for google-auth-library-ruby to be available than to duplicate that code here. What do you think?
blowmage commented on Mar 24, 2015
I just saw that google-api-client and googleauth were updated this morning. I'll update our dependency on those libraries and rework my changes use them instead.
jgeewax commented on Mar 24, 2015
We can't announce anything until we have all these things done, so it's up to you whether you want to wait for external feedback or duplicate code. I'm fine with waiting, but we should set a hard deadline where we decide to stop waiting........
blowmage commented on Mar 24, 2015
The code that would be duplicated was released this morning. My original comment was written last week but wasn't submitted until this morning.
jgeewax commented on Mar 24, 2015
blowmage commented on Mar 24, 2015
Google App Engine doesn't have a Ruby runtime so that will be skipped for now. Updating description.
added a commit that references this issue
on Mar 24, 2015This issue will close once commit 407d967 is merged into the 'main' branch.407d967 modified the milestones:
This milestone has been deleted,
This milestone has been deleted on Aug 24, 2015
Metadata
Metadata
Development
No branches or pull requestsIssue actions