English
Bootstrap the first admin
After the process can start, create the first web account on the machine that runs the binary. This is CLI, not self-registration. Finish this page before Admin → Quick start.
kirivers admin reads only the system YAML (PostgreSQL DSN), not admin.yaml.
Create
- Open a terminal in the directory that holds the binary and YAML files (or pass
-config). - Run:
bash
kirivers admin add alice- Set the password at the prompt (or
-password). Success:
text
created alice (<uuid>)- Open the admin plane (default
http://127.0.0.1:8081) and sign in. The first login must enroll TOTP (see Sign-in and 2FA).
Other actions
| Command | Effect | Success stdout |
|---|---|---|
kirivers admin list | List instance admins | Header USERNAME ID CREATED_AT |
kirivers admin reset-password alice | Reset password | password reset for alice |
kirivers admin clear-2fa alice | Clear TOTP / passkeys / recovery codes | cleared 2FA for alice |
kirivers admin delete alice | Delete the account | deleted alice |
clear-2fa does not revoke existing sessions. Deleting the last instance admin fails (LAST_ADMINCannot delete last admin).