OAuth 2.0 Client

An OAuth 2.0 Client in GCP represents an application’s identity used to access Google APIs securely. It defines credentials such as a client ID and client secret, along with authorized redirect URIs, enabling applications to perform user authentication and obtain access tokens. This resource is commonly used for web apps, mobile apps, and services that rely on Google’s identity and authorization framework.

gcp.iam_oauth_client

Fields

TitleIDTypeData TypeDescription
_keycorestring
allowed_grant_typescorearray<string>Required. The list of OAuth grant types is allowed for the OauthClient.
allowed_redirect_uriscorearray<string>Required. The list of redirect uris that is allowed to redirect back when authorization process is completed.
allowed_scopescorearray<string>Required. The list of scopes that the OauthClient is allowed to request during OAuth flows. The following scopes are supported: * `https://www.googleapis.com/auth/cloud-platform`: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
ancestorscorearray<string>
client_idcorestringOutput only. The system-generated OauthClient id.
client_typecorestringImmutable. The type of OauthClient. Either public or private. For private clients, the client secret can be managed using the dedicated OauthClientCredential resource.
datadog_display_namecorestring
descriptioncorestringOptional. A user-specified description of the OauthClient. Cannot exceed 256 characters.
disabledcoreboolOptional. Whether the OauthClient is disabled. You cannot use a disabled OAuth client.
expire_timecoretimestampOutput only. Time after which the OauthClient will be permanently purged and cannot be recovered.
gcp_display_namecorestringOptional. A user-specified display name of the OauthClient. Cannot exceed 32 characters.
labelscorearray<string>
namecorestringImmutable. Identifier. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
statecorestringOutput only. The state of the OauthClient.
tagscorehstore_csv
zone_idcorestring