Skip to main content

Users, profiles, and credentials

In Nevis ID, a user is a person with one set of credentials, and a profile carries the authorizations of that user in one unit. Authorizations are assigned to a profile, never to a user. One user can hold several profiles and acts through one profile in a session, so each set of authorizations stays separate. Every action stays attributable to the one person behind the profiles.

The industry also calls this model multiple profiles per user or multiple personas per identity.

This page uses the fictional company Silvretta Insurance. For the structure of the company, see Units and the organizational hierarchy.

Why does Nevis ID separate the person, the credentials, and the authorizations?​

Lena works at Silvretta Insurance. She approves motor claims every day. She also helps in Property Claims two days a week, and she administers the users of her own team.

Many systems solve this with more logins. Lena gets a second login for administration, or the team shares one administrative login. Both have a cost. With a shared login, nobody can tell who made a change. With a second login, Lena exists twice, and each copy has credentials that someone has to manage.

Nevis ID keeps three things apart:

ThingObject in Nevis IDQuestion that it answers
The personUserWho is it?
The proofCredentialsHow does the person prove it?
The authorizationsProfileWhat is the person allowed to do, and where?

Diagram in three bands. The person: one user, Lena. The proof: her credentials, a passkey and a password, which belong to the user and not to a profile. The authorizations: three profiles, two in Motor Claims and one in Property Claims, each with its own authorizations.

What are a user, credentials, and a profile?​

A user is a person, or a system that calls Nevis ID, in one tenant (Nevis Client). The user has a login ID.

Credentials belong to the user, not to a profile. A password, a passkey, a certificate, or another login method is registered once on the user. The login flow can restrict which of these credentials it accepts for a profile.

A profile is the link between a user and one unit. The profile carries the authorizations that the user has in that unit. On this page, a profile is this link. A profile is not a set of personal attributes, and it is not a second login.

  • A profile belongs to exactly one user and exactly one unit.
  • A user can have no profile, one profile, or several profiles.
  • One profile of a user can be marked as the default profile.

What does a profile carry?​

A profile carries authorizations. An authorization assigns one role to one profile. On this page, the word means this assignment. It does not mean the process of deciding whether a request is allowed. The industry also calls authorizations entitlements or access rights. A role is either a role of one of your applications or an administrator role of Nevis ID itself. For more information on roles, see Applications, roles, and enterprise roles.

Nevis ID never assigns a role to a user. To give a person authorizations in a unit, you give the person a profile in that unit and assign the role to the profile.

How can one person hold several profiles?​

A user can have several profiles, in the same unit or in different units. Several profiles of one user are not duplicates that you have to merge.

Each profile has its own authorizations. The authorizations of one profile do not apply to another profile of the same user.

Lena has these profiles. Three are for her own work, and one is for an AI agent that works for her:

ProfileUnitAuthorization
Daily workMotor ClaimsApplication role to approve claims
Cover in the second teamProperty ClaimsApplication role to edit claims
Team administrationMotor ClaimsAdministrator role, with Motor Claims as its scope
Profile of the AI agentMotor ClaimsApplication role to read claims

Diagram of one user, Lena, with four profiles. Three profiles belong to the unit Motor Claims: a profile for Lena to approve claims, a profile for Lena to administer users, and a profile for an AI agent to read claims. The fourth profile belongs to the unit Property Claims, for Lena to edit claims. Each profile belongs to exactly one unit.

How does an AI agent fit the model?​

An AI agent that works for a person has a profile of its own. The profile carries only the authorizations that the agent needs. An agent that prepares claims for Lena has a profile in Motor Claims with the authorization to read claims, and no authorization to approve them.

The profile of the agent belongs to the user Lena. One named person therefore owns the agent and is accountable for what the agent does. The authorizations of the other profiles of Lena do not apply to the agent. To withdraw the access of the agent, you disable or remove one profile, and the other profiles stay as they are.

The agent does not log in with the passkey of Lena. In this example, the login flow accepts only an API key or a certificate for the profile of the agent. Lena therefore cannot use the profile of the agent by mistake. If the login flow accepts only her passkey for the profiles of Lena, the agent cannot use them either.

Which profile is active in a session?​

A session uses one profile, the active profile. Only the authorizations of the active profile apply. Nevis ID derives the permissions of a caller from the roles of the active profile.

For a user with several active profiles, the login flow selects the profile in one of two ways:

SelectionWhat happens
By the userThe user chooses a profile by name at login.
By defaultThe login flow takes the default profile of the user.

The default profile also serves logins in which no interaction with the user is possible.

Can the login flow require a particular credential for a profile?​

The login flow can determine the profile first and decide afterward which credentials it offers and accepts. You define the rule. The flow can compare what it knows about the profile, such as a custom attribute that marks the kind of profile, with what it knows about each credential, such as its type or a custom attribute.

One possible rule:

ProfileCredential that the login flow accepts
Daily workPasskey or password
Team administrationPasskey only
Profile of the AI agentAPI key or certificate only

Diagram in three rows, each with three steps: the login flow determines the profile, the login flow decides which credentials of the user it accepts, and the profile is active. For the profile for Lena to approve claims, the login flow accepts a passkey or a password. For the profile for Lena to administer users, it accepts a passkey and not a password. For the profile for the AI agent, it accepts an API key or a certificate and not a passkey.

This is a setting of your login flow. Without it, a user can use any registered credential for any profile.

How does the model keep authorizations apart?​

The model separates authorizations by profile.

  • Far-reaching authorizations apply only while the profile that holds them is the active profile.
  • Daily work through one profile does not carry the administrator role of another profile.
  • The scope (Nevis Dataroom) of an administrator role limits it to named tenants, units, applications, and enterprise roles.

By default, the model does not separate authorizations by login: one set of credentials opens every profile of the user. You can add that separation in the login flow, which can require a particular credential for a particular profile. For a profile with far-reaching authorizations, the login flow can then demand a stronger credential than for the profile for daily work.

A Nevis ID instance also keeps the administrators of the instance in a tenant of their own, apart from your end users. For more information, see Tenants and isolation.

Who is recorded as the actor?​

Nevis ID records every administrative change with the actor and the time. The actor is the user, whichever profile is active, so every change leads to one person. The record also identifies the profile that was used, so the work of Lena and the work of the agent stay distinguishable.

For more information on the audit trail, see Reporting, Analytics, and Audit.

What are profiles often confused with?​

MechanismWhat it meansRelation to profiles
ImpersonationA member of staff acts as another userNot the same. With several profiles, a person acts as themselves, with a different set of authorizations.
DeputyOne person lets another person act for themNot the same. A profile belongs to one user and is not lent to another user.
Delegated administrationAn administrator manages the users of one part of the organizationBuilt on this model: an administrator role on a profile, with a scope. See Delegated administration.

What is in force when something changes?​

ChangeEffect
The user is disabled or outside its validity periodThe user cannot authenticate. The stored state of the profiles does not change.
The user is archivedThe profiles of the user are archived too.
A profile is disabled or outside its validity periodThe profile is not offered at login, and its authorizations do not apply.
All profiles of a user are disabledThe user can still authenticate. The session has no profile and no roles.
A unit is outside its validity periodThe profiles in the unit are not offered at login.
A parent unit is outside its validity periodIts subunits are too: the validity period of a subunit lies within that of its parent unit.
An authorization is outside its validity periodThe authorization is not in force, and the application does not receive the role.
  • A profile that is assigned to another unit keeps its authorizations. For more information, see Units and the organizational hierarchy.
  • An archived profile is not offered at login and loses its authorizations. Archiving cannot be reversed. The profile stays readable, with the state archived.

User and profile facts at a glance​

FactValue
CredentialsBelong to the user; the login flow can restrict them by profile
Users per profileExactly one
Units per profileExactly one
Profiles per userNone, one, or several, in the same unit or in different units
Authorization assigned toA profile, never a user
Profiles per sessionOne, the active profile
Selection of the active profileBy the user or by default
Profile statesActive, disabled, or archived
Validity periodOptional on users, profiles, units, and authorizations