emran396 / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Google Compute Engine Service Accounts #745

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

The Google Compute Engine service account auth is described here:
https://developers.google.com/compute/docs/authentication

Please describe the feature requested:
It would be nice to be able to use something similar to the existing App Engine 
identity credentials, to auth from compute using service account:
https://code.google.com/p/google-api-java-client/source/browse/google-api-client
-appengine/src/main/java/com/google/api/client/googleapis/extensions/appengine/a
uth/oauth2/AppIdentityCredential.java

A good implementation would have to track the token expiration and watch for 
request failure, in order refresh the token only when needed (as opposed to 
getting a new access token on each request).

Original issue reported on code.google.com by pro...@google.com on 11 Mar 2013 at 11:13

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 12 Mar 2013 at 1:57

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/7565047

Original comment by yan...@google.com on 12 Mar 2013 at 12:29

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 13 Mar 2013 at 7:32