Hi,
I'm unable to properly understand the differences between this 2 
authentication methods:

AppIdentity: 
https://cloud.google.com/appengine/docs/standard/java/appidentity/#asserting_identity_to_google_apis
Application Default 
Credentials: 
https://developers.google.com/identity/protocols/application-default-credentials#whentouse

My use case is use the Google APIs with the App Engine application itself 
as authenticated user.

As far I can understand, with Application Default Credentials I can create 
an "hybrid" code that can work in both local and online environment (in 
local the user will be my own, configured in GCloud, and online will be the 
application).
The AppIdentity method instead does not work in local enviroment.

The AppIdentify only provides and accessToken (but a Credential object can 
be built using this token)
The ApplicationDefaultCredentials directly provides a Credential object

is there a comparison chart available?

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/780b7981-f1ac-4eab-9c1f-e5bdebfffe38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] A... 'Nicola Spreafico' via Google App Engine

Reply via email to