oauth2_well_known_sites
Creates, updates, deletes, gets or lists an oauth2_well_known_sites resource.
Overview
| Name | oauth2_well_known_sites |
| Type | Resource |
| Id | datadog.organization.oauth2_well_known_sites |
Fields
The following fields are returned by SELECT queries:
- get_oauth2_well_known_sites
| Name | Datatype | Description |
|---|---|---|
id | string | Environment identifier. (example: prod) |
attributes | object | Attributes containing the list of public OAuth2 sites. |
type | string | JSON:API resource type for OAuth2 well-known sites environment. (env) (default: env, example: env) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_oauth2_well_known_sites | select | Retrieve the list of public OAuth2 sites available for the current environment. This endpoint is used for OAuth2 discovery and returns sites where users can authenticate. |
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. |
SELECT examples
- get_oauth2_well_known_sites
Retrieve the list of public OAuth2 sites available for the current environment. This endpoint is used for OAuth2 discovery and returns sites where users can authenticate.
SELECT
id,
attributes,
type
FROM datadog.organization.oauth2_well_known_sites
;