1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 23:49:35 +00:00
gcloud-help/gcloud/alpha/iap/oauth-brands/create
2022-06-23 08:40:08 +00:00

62 lines
2.4 KiB
Text

NAME
gcloud alpha iap oauth-brands create - create a Cloud OAuth brand for the
project
SYNOPSIS
gcloud alpha iap oauth-brands create --application_title=APPLICATION_TITLE
--support_email=SUPPORT_EMAIL [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha iap oauth-brands create is used to create a Cloud
OAuth brand for the project. The brand is 'internal only', meaning OAuth
clients created under it only accept requests from users who belong to the
same G Suite account as the project. The brand is created in unreviewed
status. Your domain will not appear on the OAuth consent screen until it is
reviewed after you manually 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
only have one brand.
EXAMPLES
To create a Cloud OAuth brand for the current project, run:
$ gcloud alpha iap oauth-brands create \
--application_title=APPLICATION_TITLE \
--support_email=SUPPORT_EMAIL
To create a Cloud OAuth brand for the project PROJECT_ID, run:
$ gcloud alpha iap oauth-brands create \
--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 the iap/v1 API. The full documentation for this API can
be found at: https://cloud.google.com/iap
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 iap oauth-brands create
$ gcloud beta iap oauth-brands create