gcloud iap oauth-brands create

NAME
gcloud iap oauth-brands create - create a Cloud OAuth brand for the project
SYNOPSIS
gcloud iap oauth-brands create--application_title=APPLICATION_TITLE--support_email=SUPPORT_EMAIL[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-brands create is used to create a Cloud OAuthbrand for the project. The brand is 'internal only', meaning OAuth clientscreated under it only accept requests from users who belong to the same G Suiteaccount as the project. The brand is created in unreviewed status. Your domainwill not appear on the OAuth consent screen until it is reviewed after youmanually start a review process in Google Cloud Platform Console. Note that the'internal only' setting can be manually changed in Google Cloud Platform Console(https://console.cloud.google.com/apis/credentials/consent). A project can onlyhave one brand.

EXAMPLES
To create a Cloud OAuth brand for the current project, run:
gcloudiapoauth-brandscreate--application_title=APPLICATION_TITLE--support_email=SUPPORT_EMAIL

To create a Cloud OAuth brand for the project PROJECT_ID, run:

gcloudiapoauth-brandscreate--application_title=APPLICATION_TITLE--support_email=SUPPORT_EMAIL--project=PROJECT_ID
REQUIRED FLAGS
--application_title=APPLICATION_TITLE
Application name displayed on the OAuth consent screen.
--support_email=SUPPORT_EMAIL
Support email displayed on the OAuth consent screen.
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.

API REFERENCE
This command uses theiap/v1 API. The full documentation for thisAPI can be found at:https://cloud.google.com/iap
NOTES
These variants are also available:
gcloudalphaiapoauth-brandscreate
gcloudbetaiapoauth-brandscreate

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.