OAuth Client Credential

An OAuth Client Credential in GCP represents a client ID and secret that an application uses to authenticate with Google APIs using the OAuth 2.0 protocol. It enables secure, programmatic access to resources without user interaction, typically in server-to-server or backend integrations.

gcp.iam_oauth_client_credential

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
client_secretcorestringOutput only. The system-generated OAuth client secret. The client secret must be stored securely. If the client secret is leaked, you must delete and re-create the client credential. To learn more, see [OAuth client and credential security risks and mitigations](https://cloud.google.com/iam/docs/workforce-oauth-app#security)
datadog_display_namecorestring
disabledcoreboolOptional. Whether the OauthClientCredential is disabled. You cannot use a disabled OauthClientCredential.
gcp_display_namecorestringOptional. A user-specified display name of the OauthClientCredential. Cannot exceed 32 characters.
labelscorearray<string>
namecorestringImmutable. Identifier. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
tagscorehstore_csv
zone_idcorestring