{{define "content"}}

Login Page Customization

Background Image

{{if loginBgImage}}
{{end}}
Max 5 MB. JPEG, PNG or WebP. The image is centered and fills the screen without distortion.

Application Settings

Security Settings

Password Policy


MFA Enforcement


Account Lockout

Set to 0 to disable account lockout.
How long to lock the account after too many failed attempts.

Email / SMTP

{{if .EmailEnabled}}

SMTP is configured

Email notifications are available. SMTP settings are managed via environment variables.
Send a test email to verify your SMTP configuration.
{{else}}

SMTP is not configured

Set the KEYWARDEN_SMTP_HOST environment variable to enable email notifications. See the Email documentation for details.
{{end}}

System Master Key

About the System Master Key

The system master key is used by Keywarden to authenticate against remote servers for key deployments and assignment syncs. You must add this public key to the ~/.ssh/authorized_keys file of the admin user on each target server.
{{if .MasterKeyPublic}}
{{.MasterKeyFingerprint}}
{{else}}
System master key not found. Please restart Keywarden to generate it.
{{end}}

Regenerate Master Key

Warning

Regenerating the master key will invalidate all existing server connections. You must re-deploy the new public key to all target servers. This action cannot be undone.

Key Enforcement

Enforced Key Management

When enabled, Keywarden periodically connects to all managed servers and verifies that only authorized SSH keys (managed by Keywarden + the system master key) are present in authorized_keys. Unauthorized keys are detected and optionally removed automatically.

Monitor mode: Detects unauthorized keys and logs them in the audit log, but does not remove them.
Enforce mode: Detects unauthorized keys and removes them automatically, keeping only Keywarden-managed keys.
Choose how Keywarden handles unauthorized keys on your servers.
How often Keywarden checks the servers (1–1440 minutes).
{{if and .EnforcementStatus (index .EnforcementStatus "last_run")}}

Last Enforcement Run

Last Run
{{index .EnforcementStatus "last_run"}}
Result
{{index .EnforcementStatus "last_result"}}
{{end}} {{if and .EnforcementStatus (ne (index .EnforcementStatus "mode") "disabled")}}

Manual Run

Trigger an immediate enforcement check on all servers.
{{end}}

Backup & Restore

About Backups

Backups contain all system data including users, SSH keys, servers, groups, assignments, cron jobs, settings, and audit logs. The backup file is encrypted with AES-256-GCM using the password you provide. Keep the password safe — without it, the backup cannot be restored.

Export Backup

Password must meet the configured password policy.

Restore Backup

Warning

Restoring a backup will replace all current data with the data from the backup file. This action cannot be undone. Make sure to export a current backup first if needed.
{{end}}