- NAME
-
- gcloud iap oauth-clients create - create a Cloud IAP OAuth client in the project
- SYNOPSIS
-
-
gcloud iap oauth-clients create
BRAND
--display_name
=DISPLAY_NAME
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
gcloud iap oauth-clients create
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. - EXAMPLES
-
To create a Cloud IAP OAuth client for the current project, run:
gcloud iap oauth-clients create BRAND --display_name=DISPLAY_NAME
To create a Cloud IAP OAuth client for the project PROJECT_ID, run:
gcloud iap oauth-clients create BRAND --display_name=DISPLAY_NAME --project=PROJECT_ID
- POSITIONAL ARGUMENTS
-
-
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
project
attribute:-
provide the argument
brand
on the command line with a fully specified name; -
provide the argument
--project
on 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
brand
attribute:-
provide the argument
brand
on the command line.
-
provide the argument
-
provide the argument
-
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.
- 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 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
-
These variants are also available:
gcloud alpha iap oauth-clients create
gcloud beta iap oauth-clients create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-02-06 UTC.",
"confidential": False
}