gcloud iam workload-identity-pools update (WORKLOAD_IDENTITY_POOL : --location=LOCATION) [--description=DESCRIPTION] [--disabled] [--display-name=DISPLAY_NAME] [--inline-trust-config-file=INLINE_TRUST_CONFIG_FILE] [--inline-certificate-issuance-config-file=INLINE_CERTIFICATE_ISSUANCE_CONFIG_FILE | --certificate-lifetime=CERTIFICATE_LIFETIME --key-algorithm=KEY_ALGORITHM --rotation-window-percentage=ROTATION_WINDOW_PERCENTAGE --[no-]use-default-shared-ca] [GCLOUD_WIDE_FLAG …]
my-workload-identity-pool:
gcloud iam workload-identity-pools update my-workload-identity-pool --location="global" --display-name="My workload pool" --description="My workload pool description" --disabled
To set the project attribute:
workload_identity_pool on the command line
with a fully specified name;
--project on the command line;
core/project.
WORKLOAD_IDENTITY_POOL
To set the workload_identity_pool attribute:
workload_identity_pool on the command line.
--location=LOCATIONlocation attribute:
workload_identity_pool on the command line
with a fully specified name;
--location on the command line.
--description=DESCRIPTION--disabled--display-name=DISPLAY_NAME--inline-trust-config-file=INLINE_TRUST_CONFIG_FILEinlineTrustConfig: additionalTrustBundles: example.com: trustAnchors: - pemCertificate: "-----BEGIN CERTIFICATE----- <certificate> -----END CERTIFICATE-----" - pemCertificate: "-----BEGIN CERTIFICATE----- <certificate> -----END CERTIFICATE-----" myorg.com: trustAnchors: - pemCertificate: "-----BEGIN CERTIFICATE----- <certificate> -----END CERTIFICATE-----" - pemCertificate: "-----BEGIN CERTIFICATE----- <certificate> -----END CERTIFICATE-----"
--inline-certificate-issuance-config-file=INLINE_CERTIFICATE_ISSUANCE_CONFIG_FILEinlineCertificateIssuanceConfig: caPools: us-east1: projects/1234/locations/us-east1/caPools/capoolname us-west1: projects/1234/locations/us-west1/caPools/capoolname keyAlgorithm: ECDSA_P256 lifetime: 86400s rotationWindowPercentage: 50
--certificate-lifetime=CERTIFICATE_LIFETIME--key-algorithm=KEY_ALGORITHMKEY_ALGORITHM must be one of:
ecdsa-p256, ecdsa-p384,
key-algorithm-unspecified, rsa-2048,
rsa-3072, rsa-4096.
--rotation-window-percentage=ROTATION_WINDOW_PERCENTAGE--use-default-shared-ca to
enable and --no-use-default-shared-ca to disable.
--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
iam/v1 API. The full documentation for this
API can be found at: https://cloud.google.com/iam/
gcloud alpha iam workload-identity-pools updategcloud beta iam workload-identity-pools update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.