Administration and workspace management
Administration is Kener's authenticated management surface. It lets trusted operators shape the public status site, run monitoring and event work, connect outside services, and govern workspace access. The management console covers resource and site operations; identity and access controls covers sign-in, users, roles, and permissions.
Management surface
The management surface turns an authenticated session into controlled access to site operations. Setup state, the session, and the permission for each area determine whether a user can open a page or perform a change.
The main access flow connects deployment settings to shared site state:
flowchart TD
A[Configured site] --> B[Sign in]
B --> C[Authenticated session]
C --> D[Management request]
D --> E{Active user with permission?}
E -->|No| F[Redirect or deny]
E -->|Yes| G[Read or change workspace state]
G --> H[Public site and operations reflect the state]
The v4 API is a separate programmatic management surface. It uses a Bearer API key for every /api/v4 request. Each key has full API access, has no expiry or per-key permission set, and is shown only when it is created. Treat a key as an administrator credential. See API authentication for the supported contract.
References: src/…/api-reference.md• L6-25 src/…/authentication.md• L6-33
Site configuration
Site configuration defines the identity and shared behavior of the public status site. Operators set the site name, origin, images, public navigation, page visibility, retention, event display, sitemap behavior, and maintenance notices.
These settings are shared inputs for public pages and outbound messages. A site URL must be a protocol and domain without a path, query, or fragment so that generated links point to the intended site.
References: src/…/configuration.md• L44-83 src/…/environment-variables.md• L49-79
Appearance and language
Appearance and language settings make the public site fit its audience. The management surface provides theme colors, logos, fonts, custom style, footer content, announcements, page order, languages, timezone display, and date and time formats.
These choices change how visitors read status, event, and navigation data. They do not change the underlying monitor or event state.
Operational resources
Operational resources connect service checks to the information shown to visitors. Operators define monitors, review their results, publish them through pages, record incidents and maintenance, and configure alerts, triggers, subscriptions, and message templates.
This creates one operating loop:
- Monitors measure service state.
- Incidents and maintenance explain impact and planned work.
- Pages publish the selected status view.
- Alerts and subscriptions carry changes to people outside the site.
The management console is the detailed guide for these workflows. See management console.
References: src/…/docs.json• L73-255 src/…/api-reference.md• L56-68
Integrations and sharing
Integrations extend the status site to other systems and audiences. Operators can configure analytics, one CAPTCHA provider, API keys, and public sharing features such as embeds and badges.
API keys provide automation access rather than a narrow workspace role. They can be deactivated or deleted, but their secret cannot be recovered after creation. The public API supports monitor and incident management plus status retrieval, so protect every key as a high-impact secret.
Email is a shared service for invitations, verification, subscriptions, and other messages. Kener uses SMTP when it is configured and uses Resend when SMTP is not configured; if neither is available, email-based management actions cannot work.
References: src/…/api-reference.md• L14-25 src/…/authentication.md• L8-33 src/…/email-setup.md• L6-10 src/…/email-setup.md• L69-77
Runtime configuration
Deployment configuration supplies the services that the management surface depends on. Environment values define the session and API signing secret, public origin, database, background-job queue, email provider, reverse-proxy path, and outbound network behavior.
The secret key is a security boundary for sessions, reset and invitation links, verification links, and API keys. Kener has no safe fallback: without a valid secret, sign-in and API keys stay off. Changing the key signs out all users and stops all existing API keys.
The public origin is also part of the management contract. In production, form actions such as sign-in and administration changes are rejected when the origin is missing or does not match the URL used by the browser.
References: src/…/environment-variables.md• L8-79 src/…/environment-variables.md• L81-95 src/…/environment-variables.md• L259-346 src/…/v4.1.10.md• L8-34
Identity provider integration
OpenID Connect (OIDC) connects workspace sign-in to an external identity provider. Administrators set the provider contract, test the connection, choose whether local sign-in remains available, and define how first-time provider users enter the workspace.
Group-to-role mapping links provider groups to Kener roles. The identity provider must use Kener's callback URL, and local login can be restored through the emergency KENER_FORCE_LOCAL_LOGIN setting when the provider is unavailable.
References: src/…/environment-variables.md• L122-138 src/…/docs.json• L233-239
Workspace governance
Workspace governance controls who can operate the site and which changes each person can make. Users receive one or more roles, and each role grants permissions for domains such as monitors, incidents, pages, alerts, settings, subscribers, users, API keys, templates, images, and roles.
The built-in roles provide broad patterns: admin has full access, editor supports day-to-day work without api_keys.delete, and member has read-only access. Built-in roles cannot be edited or deleted. Custom roles let authorized users create narrower access, change their permissions, deactivate or delete them, and move their user assignments when needed.
Permissions apply both to page access and to management actions, so hidden navigation is not a security boundary. Role assignment and role changes also require the matching role-management permissions.
The monitors.write permission can save custom evaluation code that runs on the Kener server. Give it only to people trusted with server-level impact.
References: src/…/user-management.md• L8-22 src/…/user-management.md• L24-70
Account lifecycle
Account lifecycle controls connect invitations, verification, activation, and session access. An administrator invites a user through email; the user accepts a time-limited link, sets a password, and then signs in. Email must be configured before invitations or verification messages can work.
An invitation creates an inactive account with no password, and its token expires after seven days. Accepting a valid link sets the password, activates the account, and marks it verified. Deactivating a user invalidates existing sessions. The owner keeps the administrator role and cannot be deactivated.
Users with users.write can manage invitations, roles, account status, and verification for other users. Any user can request verification for their own account.
References: src/…/user-management.md• L72-139 src/…/email-setup.md• L152-162
Change checklist
When these files or sections are changed, remember to consider these:
- Keep API-key docs aligned with the actual full-access, no-expiry contract and the one-time secret display.
- Keep secret-key changes aligned across sessions, invitation links, reset links, verification links, and API-key validation.
- Keep the public origin contract aligned with production form protection and generated site links.
- Keep email-provider priority aligned with invitations, verification, subscriptions, and other message flows.
- Keep built-in and custom role descriptions aligned with permission enforcement, role assignment, API-key deletion, and
monitors.writeserver access. - Keep invitation expiry, account activation, session invalidation, and owner restrictions aligned with user-management behavior.
- Keep OIDC recovery settings aligned with local-login availability and the provider callback contract.
- Keep documentation navigation aligned with the child pages for the management console and identity and access controls.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
KENER_SECRET_KEY is missing, empty, or public | Sign-in and API keys stay off; a public example value can allow session forgery | Set a new random secret and replace public example values |
KENER_SECRET_KEY changes | All users are signed out and existing API keys stop working | Create replacement API keys and plan a new sign-in |
ORIGIN is missing or does not match the browser URL | Production form submissions fail, including sign-in and management actions | Set the exact public origin without a trailing slash |
| An API key is lost after creation | The secret cannot be recovered from the management surface | Store it in a secret store when it is first shown |
| SMTP or Resend is not configured | Invitations and verification emails cannot be sent | Configure one supported email service before using those flows |
| A role lacks the required permission | The page or management action is denied | Grant the matching role permission; do not rely on hidden navigation |
An untrusted user receives monitors.write | Custom evaluation code can run on the Kener server | Limit the permission to trusted operators |
| OIDC is unreachable while local login is disabled | Users cannot sign in through the management surface | Test the provider and use the emergency local-login override only for recovery |
| An invitation link is expired or already used | The invited user cannot activate the account from that link | Resend the invitation before the seven-day token window ends |
Key files
| File | Why to read it |
|---|---|
| src/…/docs.json | Maps the v4 product areas that administration brings together. |
| src/…/authentication.md | Defines API-key creation, use, scope, and revocation. |
| src/…/environment-variables.md | Defines deployment values that protect and enable the management surface. |
| src/…/email-setup.md | Defines the email services used by account and workspace flows. |
| src/…/user-management.md | Defines roles, permissions, invitations, verification, and account state. |
| src/…/v4.1.9.md | Records the API authentication boundary and the security response for older releases. |
| src/…/v4.1.10.md | Records the secret-key security boundary and its operational recovery steps. |
| management-console | Child page for site, monitor, event, integration, and sharing workflows. |
| identity-access | Child page for sign-in, users, roles, permissions, and identity providers. |