|
|||||||||||
|
Technical Support On-Line Manuals ARM Compiler for µVision Getting Started Guide |
Fetch-url-http-3a-2f-2fmetadata.google.internal-2fcomputemetadata-2fv1-2finstance-2fservice Accounts-2f 【PREMIUM】You’ll see the magic of workload identity right before your eyes. The string arrived at the application layer. The WAF saw a jumble of symbols ( %3A , %2F ) and didn't trigger a block. It passed the packet through. Google Cloud client libraries (like the Python google-cloud-storage library or the gcloud CLI) are smart. When you run code on a GCP VM, the code automatically tries to contact this URL to retrieve an . You’ll see the magic of workload identity right default/ my-service-account@my-project.iam.gserviceaccount.com/ This is the . Every Virtual Machine (VM) on Google Compute Engine has access to this internal HTTP endpoint. It is not accessible from the public internet; it only exists inside the Google Cloud network. It passed the packet through This article explores the endpoint http://google.internal , explaining how it works, how to query it, and why it is the preferred method for authenticating applications in GCP. What is the Metadata Server? : When you start a Compute Engine instance, you can specify scopes that control what resources the instance's service account can access. When fetching credentials via the metadata server, you can also specify scopes to limit the token's capabilities. default/ my-service-account@my-project Here is a helpful blog post explaining what that URL is, why you are seeing it, and how to work with it. A unique aspect of interacting with this URL is the requirement of the Metadata-Flavor: Google HTTP header. This is a deliberate security design. By requiring a custom header, Google prevents attacks where an attacker might try to trick a web server into making a simple GET request to the metadata endpoint. Because standard web browsers or simple redirects cannot easily add custom headers, this requirement ensures that only intentional, programmatic requests from within the instance can access sensitive identity data. Security and Best Practices There are two main reasons you see this URL in a fetch-url context: In modern cloud-native architectures, applications must dynamically establish identities without relying on static, hardcoded credentials. Google Cloud Platform (GCP) handles this natively through its internal metadata server, an isolated network component accessible only from within running cloud workloads. | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.