Repository navigation
Allow implicit dataset / bucket / other behavior from environment #337
Copy link
Copy link
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
Description
Activity
You can actually ignore
_API_KEY-- for Cloud, it's basically unneeded. (It's still needed in a few internal use cases, so it needs to stay available.)GetCredentialsotherwise just steps through each of service account, GAE, GCE, looking to get credentials, and finally bottoms out in the usual oauth2 flow.I've been talking with Craig to move parts of
GetCredentialsto oauth2client; after that we can rework the auth bits of this lib. Tracked in #335.- changed the title
[-]Allow implicit auth from environment[/-][+]Allow implicit dataset / bucket / other behavior from environment[/+]on Dec 17, 2014 Just renamed this issue from Allow implicit auth from environment
The auth parts will be handled in #335
The remaining will be dataset / etc. specific so certain things "just work".
- added 7 commits that reference this issue
on Dec 19, 2014 - addedapi: datastoreIssues related to the Datastore API.Issues related to the Datastore API.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Dec 30, 2014 38 remaining items
- added 11 commits that reference this issue
on Nov 22, 2025 - added 2 commits that reference this issue
on Mar 2, 2026 - added a commit that references this issue
on Mar 9, 2026 - added a commit that references this issue
on Sep 8, 2026
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
Not necessarily needed for M1, just points in the direction of running in environments like GAE and GCE.
I took a stab at it using environment variables in dhermes@0860e59In #444 this is done for datasets.
@craigcitro I tried to parse how getting auth values from the environment works inGetCredentialsandBaseApiClient.__init__but it was unclear (for example) how_API_KEYis set.