Skip to main content

user_identity_providers

Creates, updates, deletes, gets or lists a user_identity_providers resource.

Overview

Nameuser_identity_providers
TypeResource
Iddatadog.organization.user_identity_providers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the identity provider. (example: 00000000-0000-0000-0000-000000000001)
attributesobjectAttributes of an identity provider override for a user.
typestringThe resource type for identity providers. (identity_providers) (example: identity_providers)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_identity_providersselectuser_idGet 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.

NameDatatypeDescription
sitestringThe 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_idstringThe ID of the user.

SELECT examples

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
;