gcloud alpha container hub workload-identity scope-tenancy-pool set

NAME
gcloud alpha container hub workload-identity scope-tenancy-pool set - set Scope Tenancy Pool
SYNOPSIS
gcloud alpha container hub workload-identity scope-tenancy-pool set WORKLOAD_IDENTITY_POOL [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) 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 alpha container hub workload-identity scope-tenancy-pool set projects/my-project/locations/global/workloadIdentityPools/test-pool

To set the scope tenancy pool using a Workload Identity Pool ID and project:

gcloud alpha 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 project attribute:

  • provide the argument WORKLOAD_IDENTITY_POOL on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

To set the location attribute:

  • provide the argument WORKLOAD_IDENTITY_POOL on the command line with a fully specified name;
  • provide the argument --location on 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 workloadidentitypool attribute:

  • provide the argument WORKLOAD_IDENTITY_POOL on the command line.
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 help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud container hub workload-identity scope-tenancy-pool set
gcloud beta container hub workload-identity scope-tenancy-pool set