Data source to retrieve a specific Auth0 connection by connection_id
or name
.
# An Auth0 Connection loaded using its name.
data "auth0_connection" "some-connection-by-name" {
name = "Acceptance-Test-Connection-{{.testName}}"
}
# An Auth0 Connection loaded using its ID.
data "auth0_connection" "some-connection-by-id" {
connection_id = "con_abcdefghkijklmnopqrstuvwxyz0123456789"
}
connection_id
(String) The ID of the connection. If not provided, name
must be set.name
(String) The name of the connection. If not provided, connection_id
must be set.display_name
(String) Name used in login screen.enabled_clients
(Set of String) IDs of the clients for which the connection is enabled.id
(String) The ID of this resource.is_domain_connection
(Boolean) Indicates whether the connection is domain level.metadata
(Map of String) Metadata associated with the connection, in the form of a map of string values (max 255 chars).options
(List of Object) Configuration settings for connection options. (see below for nested schema)realms
(List of String) Defines the realms for which the connection will be used (e.g., email domains). If not specified, the connection name is added as the realm.show_as_button
(Boolean) Display connection as a button. Only available on enterprise connections.strategy
(String) Type of the connection, which indicates the identity provider.options
Read-Only:
adfs_server
(String)allowed_audiences
(Set of String)api_enable_users
(Boolean)app_id
(String)attribute_map
(List of Object) (see below for nested schema)auth_params
(Map of String)authorization_endpoint
(String)brute_force_protection
(Boolean)client_id
(String)client_secret
(String)community_base_url
(String)configuration
(Map of String)connection_settings
(List of Object) (see below for nested schema)custom_scripts
(Map of String)debug
(Boolean)decryption_key
(List of Object) (see below for nested schema)digest_algorithm
(String)disable_cache
(Boolean)disable_self_service_change_password
(Boolean)disable_sign_out
(Boolean)disable_signup
(Boolean)discovery_url
(String)domain
(String)domain_aliases
(Set of String)enable_script_context
(Boolean)enabled_database_customization
(Boolean)entity_id
(String)fed_metadata_xml
(String)fields_map
(String)forward_request_info
(Boolean)from
(String)gateway_authentication
(List of Object) (see below for nested schema)gateway_url
(String)icon_url
(String)identity_api
(String)idp_initiated
(List of Object) (see below for nested schema)import_mode
(Boolean)ips
(Set of String)issuer
(String)jwks_uri
(String)key_id
(String)map_user_id_to_id
(Boolean)max_groups_to_retrieve
(String)messaging_service_sid
(String)metadata_url
(String)metadata_xml
(String)mfa
(List of Object) (see below for nested schema)name
(String)non_persistent_attrs
(Set of String)password_complexity_options
(List of Object) (see below for nested schema)password_dictionary
(List of Object) (see below for nested schema)password_history
(List of Object) (see below for nested schema)password_no_personal_info
(List of Object) (see below for nested schema)password_policy
(String)ping_federate_base_url
(String)pkce_enabled
(Boolean)protocol_binding
(String)provider
(String)request_template
(String)requires_username
(Boolean)scopes
(Set of String)scripts
(Map of String)set_user_root_attributes
(String)should_trust_email_verified_connection
(String)sign_in_endpoint
(String)sign_out_endpoint
(String)sign_saml_request
(Boolean)signature_algorithm
(String)signing_cert
(String)signing_key
(List of Object) (see below for nested schema)strategy_version
(Number)subject
(String)syntax
(String)team_id
(String)template
(String)tenant_domain
(String)token_endpoint
(String)totp
(List of Object) (see below for nested schema)twilio_sid
(String)twilio_token
(String)type
(String)upstream_params
(String)use_cert_auth
(Boolean)use_kerberos
(Boolean)use_wsfed
(Boolean)user_id_attribute
(String)userinfo_endpoint
(String)validation
(List of Object) (see below for nested schema)waad_common_endpoint
(Boolean)waad_protocol
(String)options.attribute_map
Read-Only:
attributes
(String)mapping_mode
(String)userinfo_scope
(String)options.connection_settings
Read-Only:
pkce
(String)options.decryption_key
Read-Only:
cert
(String)key
(String)options.gateway_authentication
Read-Only:
audience
(String)method
(String)secret
(String)secret_base64_encoded
(Boolean)subject
(String)options.idp_initiated
Read-Only:
client_authorize_query
(String)client_id
(String)client_protocol
(String)options.mfa
Read-Only:
active
(Boolean)return_enroll_settings
(Boolean)options.password_complexity_options
Read-Only:
min_length
(Number)options.password_dictionary
Read-Only:
dictionary
(Set of String)enable
(Boolean)options.password_history
Read-Only:
enable
(Boolean)size
(Number)options.password_no_personal_info
Read-Only:
enable
(Boolean)options.signing_key
Read-Only:
cert
(String)key
(String)options.totp
Read-Only:
length
(Number)time_step
(Number)options.validation
Read-Only:
username
(List of Object) (see below for nested schema)options.validation.username
Read-Only:
max
(Number)min
(Number)