File: //snap/google-cloud-cli/394/help/man/man1/gcloud_container_hub_identity-service_apply.1
.TH "GCLOUD_CONTAINER_HUB_IDENTITY\-SERVICE_APPLY" 1
.SH "NAME"
.HP
gcloud container hub identity\-service apply \- update the Identity Service Feature
.SH "SYNOPSIS"
.HP
\f5gcloud container hub identity\-service apply\fR (\fB\-\-fleet\-default\-member\-config\fR=\fIFLEET_DEFAULT_MEMBER_CONFIG\fR\ [(\fB\-\-config\fR=\fICONFIG\fR\ |\ \fB\-\-origin\fR=\fIORIGIN\fR)\ :\ [\fB\-\-membership\fR=\fIMEMBERSHIP\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR]]) [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
This command updates the Identity Service Feature in a fleet.
.SH "EXAMPLES"
To apply an Identity Service configuration to a membership, run:
.RS 2m
$ gcloud container hub identity\-service apply \e
\-\-membership=MEMBERSHIP_NAME \e
\-\-config=/path/to/identity\-service.yaml
.RE
To create or modify a fleet\-level default membership configuration, run:
.RS 2m
$ gcloud container hub identity\-service apply \e
\-\-fleet\-default\-member\-config=/path/to/identity\-service.yaml
.RE
To apply an existing fleet\-level default membership configuration to a
membership, run:
.RS 2m
$ gcloud container hub identity\-service apply \-\-origin=fleet \e
\-\-membership=MEMBERSHIP_NAME
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
At least one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-fleet\-default\-member\-config\fR=\fIFLEET_DEFAULT_MEMBER_CONFIG\fR
The path to an identity\-service.yaml configuration file.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-config\fR=\fICONFIG\fR
The path to an identity\-service.yaml configuration file.
.TP 2m
\fB\-\-origin\fR=\fIORIGIN\fR
Applies the fleet\-level default membership configuration to a membership.
\fIORIGIN\fR must be (only one value is supported): \fBfleet\fR.
.RE
.sp
.TP 2m
Membership resource \- The group of arguments defining a membership. The
arguments in this group can be used to specify the attributes of this resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-membership\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(bu" 2m
set the property \f5core/project\fR.
.RE
.sp
.RS 2m
.TP 2m
\fB\-\-membership\fR=\fIMEMBERSHIP\fR
ID of the membership or fully qualified identifier for the membership.
To set the \f5membership\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-membership\fR on the command line.
.RE
.sp
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Location for the membership.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-membership\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(em" 2m
set the property \f5gkehub/location\fR.
.RE
.sp
.RE
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha container hub identity\-service apply
.RE
.RS 2m
$ gcloud beta container hub identity\-service apply
.RE