Data source to retrieve a specific Auth0 user by user_id
.
# An Auth0 User loaded using its ID.
data "auth0_user" "my_user" {
user_id = "auth0|34fdr23fdsfdfsf"
}
user_id
(String) ID of the user.app_metadata
(String) Custom fields that store info about the user that impact the user's core functionality, such as how an application functions or what the user can access. Examples include support plans and IDs for external accounts.blocked
(Boolean) Indicates whether the user is blocked or not.connection_name
(String) Name of the connection from which the user information was sourced.email
(String) Email address of the user.email_verified
(Boolean) Indicates whether the email address has been verified.family_name
(String) Family name of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: Configure Identity Provider Connection for User Profile Updates.given_name
(String) Given name of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: Configure Identity Provider Connection for User Profile Updates.id
(String) The ID of this resource.name
(String) Name of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: Configure Identity Provider Connection for User Profile Updates.nickname
(String) Preferred nickname or alias of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: Configure Identity Provider Connection for User Profile Updates.password
(String) Initial password for this user. Required for non-passwordless connections (SMS and email).permissions
(Set of Object) List of API permissions granted to the user. (see below for nested schema)phone_number
(String) Phone number for the user; follows the E.164 recommendation. Used for SMS connections.phone_verified
(Boolean) Indicates whether the phone number has been verified.picture
(String) Picture of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: Configure Identity Provider Connection for User Profile Updates.roles
(Set of String) Set of IDs of roles assigned to the user.user_metadata
(String) Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences.username
(String) Username of the user. Only valid if the connection requires a username.verify_email
(Boolean) Indicates whether the user will receive a verification email after creation. Overrides behavior of email_verified
parameter.permissions
Read-Only:
description
(String)name
(String)resource_server_identifier
(String)resource_server_name
(String)