FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

java-docs-samples/run/authentication at master · CoderBoyBoy/java-docs-samples · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Authenticating service-to-service

This sample shows how to make an authenticated request by retrieving a JSON Web Tokens (JWT) from the metadata server.

For more details on how to work with this sample read Authenticating service-to-service.

Note You cannot query an instance's metadata from another instance or directly from your local computer. For testing purposes, this sample uses the environment variable, "GOOGLE_CLOUD_PROJECT", to determine local or instance environment. To run tests locally, make sure environment variable, "GOOGLE_CLOUD_PROJECT", is not set.


Back | FazBrowse Home | New Git URL