Python 3.7 on App Engine standard provides the GCE metadata service, so as 
an alternative, you could use Compute Engine Credentials 
<https://cloud.google.com/docs/authentication/production#auth-cloud-compute-engine-python>.
 
I will inform our documentation team to update this document since it is 
outdated and it does not include App Engine Standard Second Generation as 
one of the platforms where you could use these credentials.

On Thursday, September 13, 2018 at 5:48:29 PM UTC-4, Fili Wiese wrote:
>
> I filled an issue for this on Github as I ran into the same problem:
>
>
> https://github.com/GoogleCloudPlatform/google-auth-library-python/issues/291
>
>
> On Sunday, September 9, 2018 at 5:46:55 PM UTC+2, Eric G wrote:
>>
>> It appears that the google-auth default credentials 
>> <https://google-auth.readthedocs.io/en/latest/user-guide.html#> will not 
>> work for 2nd generation standard environments, at least not for Python at 
>> the moment, as it requires the app identity/user API.
>>
>> Is there a plan for getting default app engine credentials to work in 
>> another way?  Or is the recommendation to set the 
>> GOOGLE_APPLICATION_CREDENTIALS env var to point to the service account file 
>> manually?
>>
>> Thanks,
>> Eric
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6e95c3ca-1c1c-4c08-9c2a-451f84880759%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to