We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8848f66 commit ab8cd5eCopy full SHA for ab8cd5e
src/default_service_account.rs
@@ -17,6 +17,7 @@ pub(crate) struct MetadataServiceAccount {
17
}
18
19
impl MetadataServiceAccount {
20
+ // https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys
21
const DEFAULT_PROJECT_ID_GCP_URI: &'static str =
22
"http://metadata.google.internal/computeMetadata/v1/project/project-id";
23
const DEFAULT_TOKEN_GCP_URI: &'static str = "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token";
0 commit comments