gcloud iap oauth-clients create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud iap oauth-clients create - create a Cloud IAP OAuth client in the project
- SYNOPSIS
gcloud iap oauth-clients createBRAND--display_name=DISPLAY_NAME[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(DEPRECATED)This command is deprecated and will be non-functionalafter the IAP OAuth Admin APIs are turned down. Jan 19, 2026: Google willdiscontinue support for the IAP OAuth Admin APIs. New projects will not be ableto use these APIs. March 19, 2026: The IAP OAuth Admin APIs will be permanentlyshut down. Access to this feature will no longer be available.gcloud iap oauth-clients createis used to create an OAuth clientin the project to be used by Cloud IAP. To call this command, the Cloud OAuthbrand for the project must exist and be set for 'internal only'. The new clientis owned by Cloud IAP.- EXAMPLES
- To create a Cloud IAP OAuth client for the current project, run:
gcloudiapoauth-clientscreateBRAND--display_name=DISPLAY_NAMETo create a Cloud IAP OAuth client for the project PROJECT_ID, run:
gcloudiapoauth-clientscreateBRAND--display_name=DISPLAY_NAME--project=PROJECT_ID - POSITIONAL ARGUMENTS
- Brand resource - Name of the Cloud OAuth brand to create a Cloud IAP OAuthclient under. This represents a Cloud resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
brandon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
BRAND- ID of the brand or fully qualified identifier for the brand.
To set the
brandattribute:- provide the argument
brandon the command line.
- provide the argument
- provide the argument
- Brand resource - Name of the Cloud OAuth brand to create a Cloud IAP OAuthclient under. This represents a Cloud resource. (NOTE) Some attributes are notgiven arguments in this group but can be set in other ways.
- REQUIRED FLAGS
--display_name=DISPLAY_NAME- User friendly name for the Cloud IAP OAuth client.
- 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. - API REFERENCE
- This command uses the
iap/v1API. The full documentation for thisAPI can be found at:https://cloud.google.com/iap - NOTES
- These variants are also available:
gcloudalphaiapoauth-clientscreategcloudbetaiapoauth-clientscreate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-30 UTC.