File: //snap/google-cloud-cli/396/help/man/man1/gcloud_iap_oauth-clients_create.1
.TH "GCLOUD_IAP_OAUTH\-CLIENTS_CREATE" 1
.SH "NAME"
.HP
gcloud iap oauth\-clients create \- create a Cloud IAP OAuth client in the project
.SH "SYNOPSIS"
.HP
\f5gcloud iap oauth\-clients create\fR \fIBRAND\fR \fB\-\-display_name\fR=\fIDISPLAY_NAME\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(DEPRECATED)\fR This command is deprecated and will be non\-functional after
the IAP OAuth Admin APIs are turned down. Jan 19, 2026: Google will discontinue
support for the IAP OAuth Admin APIs. New projects will not be able to use these
APIs. March 19, 2026: The IAP OAuth Admin APIs will be permanently shut down.
Access to this feature will no longer be available.
\fBgcloud iap oauth\-clients create\fR is used to create an OAuth client in the
project to be used by Cloud IAP. To call this command, the Cloud OAuth brand for
the project must exist and be set for 'internal only'. The new client is owned
by Cloud IAP.
.SH "EXAMPLES"
To create a Cloud IAP OAuth client for the current project, run:
.RS 2m
$ gcloud iap oauth\-clients create BRAND \-\-display_name=DISPLAY_NAME
.RE
To create a Cloud IAP OAuth client for the project PROJECT_ID, run:
.RS 2m
$ gcloud iap oauth\-clients create BRAND \e
\-\-display_name=DISPLAY_NAME \-\-project=PROJECT_ID
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Brand resource \- Name of the Cloud OAuth brand to create a Cloud IAP OAuth
client under. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5brand\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIBRAND\fR
ID of the brand or fully qualified identifier for the brand.
To set the \f5brand\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5brand\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-display_name\fR=\fIDISPLAY_NAME\fR
User friendly name for the Cloud IAP OAuth client.
.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 "API REFERENCE"
This command uses the \fBiap/v1\fR API. The full documentation for this API can
be found at: https://cloud.google.com/iap
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha iap oauth\-clients create
.RE
.RS 2m
$ gcloud beta iap oauth\-clients create
.RE