# Class Oauth2ClientCredentialsConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

    Oauth2ClientCredentialsConfig(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Parameters to support Oauth 2.0 client credentials grant
authentication. See
<https://tools.ietf.org/html/rfc6749#section-1.3.4> for more
details.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `client_id` | `str` Required. The client identifier. |
| `client_secret` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.Secret` Required. Secret version reference containing the client secret. The `secretmanager.versions.access` permission should be granted to the service account accessing the secret. |