From 746492b46c4eeb1ff3e2ccccd0e63d6728234b99 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 16 Apr 2024 11:36:26 +0200 Subject: [PATCH] Add link to reference docs for GCP metadata service --- src/default_service_account.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/default_service_account.rs b/src/default_service_account.rs index 111d150..fe2674c 100644 --- a/src/default_service_account.rs +++ b/src/default_service_account.rs @@ -17,6 +17,7 @@ pub(crate) struct MetadataServiceAccount { } impl MetadataServiceAccount { + // https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys const DEFAULT_PROJECT_ID_GCP_URI: &'static str = "http://metadata.google.internal/computeMetadata/v1/project/project-id"; const DEFAULT_TOKEN_GCP_URI: &'static str = "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token";