How-to For: administrators

Users and groups

Create local users and groups in the console, set their groups, disable them, lift a lockout and delete them.

Create the accounts that sign in to the console, collect them in groups and handle an account that is locked, lost or no longer needed. Users from an identity provider appear at their first sign-in; see Single sign-on. Without the privilege Kyvernon.Identity.ManageUsers on the root, the screens of this page are not offered.

In the console

Create a user

  1. Open the User menu at the top right and select Administration. In the list on the left, select Users.

    Local users with groups, two-step verification and state (Show larger)
  2. Select Create user.
  3. Enter the User name: two to 64 letters, digits, dots, hyphens or underscores. It cannot be changed later. Display name and Email address are optional.
  4. Enter the Password and repeat it under Repeat the password. The length must be within the password policy, 12 to 256 characters unless an administrator changed it, and common passwords are refused.
  5. Leave Require a new password at the first sign-in ticked so that the user chooses a password of their own before anything else works. Tick Service account for an account that a program uses, not a person. Under Groups, tick the groups the user belongs to.

    Create user dialog with password and groups (Show larger)
  6. Select Create.

The new user appears in the table with the columns Source, Groups, State, Two-step verification and Last sign-in. Give the user access afterwards; see Roles and permissions.

Change an account

Select Actions in the row of the user. The menu offers:

  • Edit changes the display name, the email address, the service account switch and the groups.
  • Reset password sets a new password and ends all sessions of the account. Give the password to the user over a safe channel.
  • For a locked account, the menu also offers an action that lifts the lockout, so that the user can try again at once instead of waiting for the lock to end.
  • Reset two-step verification appears when the user has two-step verification. The user sets it up again at the next sign-in. Use it when the phone and the recovery codes are lost.
  • End all sessions signs the user out everywhere.
  • API tokens opens the API tokens of the user; see API tokens.
  • Disable stops the user from signing in and ends the sessions. The account and its permissions stay, and Enable brings it back.
  • Delete removes the account, its sessions and its API tokens. The dialog asks you to type the user name. Permissions granted to the name stay until you remove them.

You cannot disable or delete your own account. To keep an account that is no longer needed but may come back, disable it.

Create a group and add members

A group gives the same access to many people: grant a role to the group and everyone in it has it. A group can contain users and other groups, and members of a nested group inherit what the outer group has.

  1. In the list on the left of the Administration area, select Groups.

    Groups and their members (Show larger)
  2. Select Create group. Enter the Group name, with letters, digits, spaces, dots, hyphens and underscores up to 64 characters, and a Description.

    Create group dialog (Show larger)
  3. Select Save.
  4. In the row of the group, select Members. Tick the users and the nested groups that belong to it, and select Save. A group that contains the current one is not offered, because it would form a loop.

    Members dialog of a group with tick boxes for users and nested groups (Show larger)

Edit in the row renames the group, and the members and permissions stay. Delete removes the group: its members lose what they had through it, and the users stay.

Result

The users and groups are listed on their screens, and every change is recorded in the audit log. A user that you disable cannot sign in from that moment.

Automation

With the CLI

The password of a new user comes from the environment variable KYVERNON_PASSWORD or from standard input, never from the command line:

Shell
read -r -s KYVERNON_PASSWORD
export KYVERNON_PASSWORD
kyvernon users create j.smith --display-name "J Smith" --email j.smith@example.com \
  --group operations --rotation-required
kyvernon users update j.smith --group operations --group auditors
kyvernon users unlock j.smith
kyvernon users groups create operations --description "Daily operations"
kyvernon users groups add operations --user j.smith

--group can be repeated. users update replaces the display name, the email address and the groups of a user, and users groups lists, creates, renames, fills and deletes groups; users list and users groups list show the result.

With the API

GET /v1/identity/users lists users and POST /v1/identity/users creates one. PUT /v1/identity/users/{username} changes the display name, the email address and the groups. Groups are GET and POST /v1/identity/groups, PUT and DELETE /v1/identity/groups/{name}, and .../members below a group. The other user tasks are calls below /v1/identity/users/{username}: PUT .../enabled, POST .../password, POST .../unlock, DELETE .../mfa, DELETE .../sessions, PUT .../service-account and DELETE on the user itself. All of them need Kyvernon.Identity.ManageUsers, except ending sessions, which needs Sessions.TerminateSession.

Version 0.1. Last changed: 2026-11-14