From 12f2c87266de0a3ccd33e6b4993cab3537f9a242 Mon Sep 17 00:00:00 2001 From: Ryunosuke Hayashi Date: Fri, 10 Jan 2025 10:08:05 +0900 Subject: [PATCH] fix: resolve typo in document (#1901) --- .readme-partials.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.readme-partials.yaml b/.readme-partials.yaml index 151dd1dd..6a8bb79f 100644 --- a/.readme-partials.yaml +++ b/.readme-partials.yaml @@ -997,7 +997,7 @@ body: |- } const clientOptions = { - audience: '//iam.googleapis.com/locations/global/workforcePools/$WORKLOAD_POOL_ID/providers/$PROVIDER_ID', // Set the GCP audience. + audience: '//iam.googleapis.com/locations/global/workforcePools/$WORKFORCE_POOL_ID/providers/$PROVIDER_ID', // Set the GCP audience. subject_token_type: 'urn:ietf:params:oauth:token-type:id_token', // Set the subject token type. subject_token_supplier: new CustomSupplier() // Set the custom supplier. } @@ -1005,11 +1005,11 @@ body: |- const client = new CustomSupplier(clientOptions); ``` - Where the audience is: `//iam.googleapis.com/locations/global/workforcePools/$WORKLOAD_POOL_ID/providers/$PROVIDER_ID` + Where the audience is: `//iam.googleapis.com/locations/global/workforcePools/$WORKFORCE_POOL_ID/providers/$PROVIDER_ID` Where the following variables need to be substituted: - * `WORKFORCE_POOL_ID`: The worforce pool ID. + * `$WORKFORCE_POOL_ID`: The worforce pool ID. * `$PROVIDER_ID`: The provider ID. and the workforce pool user project is the project number associated with the [workforce pools user project](https://cloud.google.com/iam/docs/workforce-identity-federation#workforce-pools-user-project).