user_identity_providers
Creates, updates, deletes, gets or lists a user_identity_providers resource.
Overview
| Name | user_identity_providers |
| Type | Resource |
| Id | datadog.organization.user_identity_providers |
Fields
The following fields are returned by SELECT queries:
- get_user_identity_providers
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the identity provider. (example: 00000000-0000-0000-0000-000000000001) |
attributes | object | Attributes of an identity provider override for a user. |
type | string | The resource type for identity providers. (identity_providers) (example: identity_providers) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_user_identity_providers | select | user_id | Get the identity provider overrides for a specific user in the organization.<br />When a user has no overrides set, they use the organization's default identity providers. |
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. |
user_id | string | The ID of the user. |
SELECT examples
- get_user_identity_providers
Get the identity provider overrides for a specific user in the organization.<br />When a user has no overrides set, they use the organization's default identity providers.
SELECT
id,
attributes,
type
FROM datadog.organization.user_identity_providers
WHERE user_id = '{{ user_id }}' -- required
;