Skip to main content

User Display Names

Report an IssueView as Markdown

A display name is a human-readable name that Teleport derives for a user at read time from values already present on the user, such as identity-provider attributes or a local user's traits. Display names are presentation only: the Teleport username remains the stable identifier and is always shown alongside the display name, so a user is never shown by a name alone.

How Teleport derives a display name

Teleport fills two values independently, a primary value (a name) and a secondary value (an email), from the inputs it finds among the sources below. Because the two are resolved separately, a user may show a name with no email, an email with no name, or neither.

SourcePrimary (name)Secondary (email)Where to set it
Okta syncthe Okta profile's displayName, or givenName + familyName, or firstName + lastNamethe profile's emailOkta integration
Microsoft Entra IDthe display-name claim, or the given-name and surname claimsthe email-address claimEntra ID integration
SAML / OIDC SSOdisplayName, name, givenName + familyName (or given_name + family_name), or firstName + lastName (or first_name + last_name)emailauthentication connector
Local userthe displayName, name, givenName + familyName (or given_name + family_name), or firstName + lastName (or first_name + last_name) traitthe email traitedit the user's spec.traits (for example, tctl edit users/alice)
SCIMdisplayName, or name.givenName + name.familyNamethe SCIM email marked "primary": true, or the first listed emailSCIM integration

The Microsoft Entra ID display-name and email-address claims correspond to the SAML claim URIs http://schemas.microsoft.com/identity/claims/displayname and http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress.

To change how a user appears, set the attribute you want on the user: map it into the user's traits through your SSO connector, provision it through SCIM, or edit a local user's traits directly. Because display names are presentation only, the username is unchanged and remains the stable reference for roles, RBAC and audit logging.