oauth2_clients
Creates, updates, deletes, gets or lists an oauth2_clients resource.
Overview
| Name | oauth2_clients |
| Type | Resource |
| Id | datadog.organization.oauth2_clients |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
register_oauth_client | exec | client_name, redirect_uris | Register an OAuth2 client using the Dynamic Client Registration protocol defined in RFC 7591. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
Lifecycle Methods
EXEC variables use wire (API) names.
- register_oauth_client
Register an OAuth2 client using the Dynamic Client Registration protocol defined in RFC 7591.
EXEC datadog.organization.oauth2_clients.register_oauth_client
@@json=
'{
"client_name": "{{ client_name }}",
"client_uri": "{{ client_uri }}",
"grant_types": "{{ grant_types }}",
"jwks_uri": "{{ jwks_uri }}",
"logo_uri": "{{ logo_uri }}",
"policy_uri": "{{ policy_uri }}",
"redirect_uris": "{{ redirect_uris }}",
"response_types": "{{ response_types }}",
"scope": "{{ scope }}",
"token_endpoint_auth_method": "{{ token_endpoint_auth_method }}",
"tos_uri": "{{ tos_uri }}"
}'
;