Skip to content

Commit ab8cd5e

Browse files
committed
Add link to reference docs for GCP metadata service
1 parent 8848f66 commit ab8cd5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/default_service_account.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub(crate) struct MetadataServiceAccount {
1717
}
1818

1919
impl MetadataServiceAccount {
20+
// https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys
2021
const DEFAULT_PROJECT_ID_GCP_URI: &'static str =
2122
"http://metadata.google.internal/computeMetadata/v1/project/project-id";
2223
const DEFAULT_TOKEN_GCP_URI: &'static str = "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token";

0 commit comments

Comments
 (0)