- NAME
-
- gcloud container hub workload-identity scope-tenancy-pool set - set Scope Tenancy Pool
- SYNOPSIS
-
-
gcloud container hub workload-identity scope-tenancy-pool setWORKLOAD_IDENTITY_POOL[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Set the scope tenancy pool for a fleet.
- EXAMPLES
- To set the scope tenancy pool using a fully qualified identifier for the
Workload Identity Pool:
gcloud container hub workload-identity scope-tenancy-pool set projects/my-project/locations/global/workloadIdentityPools/test-poolTo set the scope tenancy pool using a Workload Identity Pool ID and project:
gcloud container hub workload-identity scope-tenancy-pool set test-pool --project = my-project - POSITIONAL ARGUMENTS
-
- Workloadidentitypool resource - The group of arguments defining a Workload
Identity Pool. This represents a Cloud resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
WORKLOAD_IDENTITY_POOLon the command line with a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
WORKLOAD_IDENTITY_POOLon the command line with a fully specified name; - provide the argument
--locationon the command line; - set the property
gkehub/location.
This must be specified.
-
WORKLOAD_IDENTITY_POOL - ID of the workloadidentitypool or fully qualified identifier for the
workloadidentitypool.
To set the
workloadidentitypoolattribute:- provide the argument
WORKLOAD_IDENTITY_POOLon the command line.
- provide the argument
- provide the argument
- Workloadidentitypool resource - The group of arguments defining a Workload
Identity Pool. This represents a Cloud resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--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 helpfor details. - NOTES
- These variants are also available:
gcloud alpha container hub workload-identity scope-tenancy-pool setgcloud beta container hub workload-identity scope-tenancy-pool set
gcloud container hub workload-identity scope-tenancy-pool set
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.

