This server provides three categories of information:
To list the service accounts attached to a virtual machine, use the GET request:
This article explains the purpose and usage of the metadata URL http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/ used on Google Cloud Compute Engine (GCE) instances to access instance metadata and service account credentials, and shows secure examples for common use cases. This server provides three categories of information: To
Each entry is a directory containing metadata about that service account. Typically, every GCE instance has at least the .
When decoded, the text transforms into a recognizable structure: When decoded, the text transforms into a recognizable
To successfully fetch data from this URL, your request must meet specific technical requirements:
The URL we care about is the :
Next time you set up a web app on Compute Engine and it just works with Cloud Storage or BigQuery, you now know the silent hero behind the scenes: the metadata server.
By default, tokens have the broad cloud-platform scope, which grants access to many Google Cloud APIs, subject to IAM permissions. To request a token with specific, limited scopes, use the ?scopes= parameter: tokens have the broad cloud-platform scope