Admin access
The console and the admin API are one server with one set of accounts, separate from agent identities. Every admin action is recorded in the admin audit log.
| Role | Can |
|---|---|
owner, admin |
everything |
security_admin |
identities, keys and grants, and any change without a narrower rule |
source_admin |
sources, connectors, source roles, catalog, ingestion |
policy_admin |
policy rules |
approval_reviewer |
approve and reject queued writes |
auditor |
read the console, audit and usage |
viewer |
read every console page and read API, and change nothing |
An account can hold several roles. Which routes each role opens is listed in Admin roles. Administrators add console users from Console Users in the sidebar, choosing a user type (Administrator, Read-write, Read-only or Custom) rather than raw roles; see Manage admin users.
A viewer cannot run anything that uses stored credentials or belongs to an
editing flow, even when it changes nothing: Test Connection, policy and
source-role dry-runs, and import previews need a role that may make the change.
When the console refuses an action, it says so in a notice at the bottom of the
page.
The first admin
Section titled “The first admin”A fresh install creates one admin, admin, with the password admin. Signing
in with it opens only a change-password page: every other page redirects there
and the API answers 403 password_change_required until a new password of at
least 12 characters is set. Set INTERLOCK_ADMIN__BOOTSTRAP_PASSWORD before the
first start to choose the first password instead; that one is not forced to
change.
Change the default before the console is reachable by anyone else. Every admin can change their own password from the sidebar; doing so signs that admin out everywhere else.
Sessions
Section titled “Sessions”A sign-in creates a session cookie, valid for eight hours by default. Every
POST, PUT, PATCH and DELETE must also carry the session’s CSRF token in
the X-CSRF-Token header, from GET /auth/csrf; the console does this for you.
Changing an admin’s roles, disabling it, or changing its password revokes its
sessions on their next request.
Single sign-on
Section titled “Single sign-on”With OIDC enabled, admins sign in through your identity provider and receive
roles from a map of group names to roles. Only owner and admin accounts may
set which SSO subject belongs to a console account, because that subject
decides which account an SSO sign-in becomes. Local password sign-in can stay
available to owner and admin accounts as a break-glass path.