Skip to main content

saml_configurations

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

Overview

Namesaml_configurations
TypeResource
Iddatadog.organization.saml_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe UUID of the SAML configuration. (example: 3653d3c6-0c75-11ea-ad28-fb5701eabc7d)
attributesobjectAttributes of a SAML configuration.
relationshipsobjectRelationships of a SAML configuration.
typestringSAML configurations resource type. (saml_configurations) (default: saml_configurations, example: saml_configurations)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_samlconfigurationselectsaml_config_uuidGet a single SAML configuration for the current organization by its UUID.
list_samlconfigurationsselectGet the list of SAML configurations for the current organization. An organization has at most one SAML configuration.
update_samlconfigurationupdatesaml_config_uuid, dataUpdate a single SAML configuration for the current organization.<br /><br />Use this endpoint to enable or disable identity-provider-initiated login, set the<br />just-in-time provisioning domains, and set the default role assigned to<br />just-in-time provisioned users. A default role is required to enable just-in-time provisioning.

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
saml_config_uuidstringThe UUID of the SAML configuration.
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.

SELECT examples

Get a single SAML configuration for the current organization by its UUID.

SELECT
id,
attributes,
relationships,
type
FROM datadog.organization.saml_configurations
WHERE saml_config_uuid = '{{ saml_config_uuid }}' -- required
;

UPDATE examples

Update a single SAML configuration for the current organization.<br /><br />Use this endpoint to enable or disable identity-provider-initiated login, set the<br />just-in-time provisioning domains, and set the default role assigned to<br />just-in-time provisioned users. A default role is required to enable just-in-time provisioning.

UPDATE datadog.organization.saml_configurations
SET
data = '{{ data }}'
WHERE
saml_config_uuid = '{{ saml_config_uuid }}' --required
AND data = '{{ data }}' --required
RETURNING
data,
included;