Aegis

Account

Account in the top bar (or g a). Everyone sees Password and Appearance & shortcuts. Admins also see Users, API tokens and Backups. Sign out in the page header ends this browser session (on a phone, this is where Sign out is; the top bar has no room for it).

The Account page as an admin

Users

Admins only. Everyone should sign in with their own account, so the audit log shows who did what.

The table lists each user with their Role, the Apps they can see, when they were created, and some buttons:

To add a user, enter a Username (lowercase letters, digits, ., _ and -), pick a Role, choose which Apps they can see (all by default) and click Add user. The new user’s random password is shown once.

API tokens

Admins only. Tokens are for the CLI, scripts and CI. Send one as Authorization: Bearer <token>.

Monitoring

Admins only. Optional Prometheus metrics and a Grafana dashboard, off by default. See Monitoring.

Backups

Admins only. A backup is a .tar.gz archive with the database, the secrets key (without it, app secrets can’t be decrypted), the certificates and, optionally, the release directories.

Restore

Restoring happens on the server with the daemon stopped. The card shows the exact commands for the newest backup, with a Copy button:

sudo systemctl stop aegis
sudo -u aegis AEGIS_CONFIG=/etc/aegis/aegis.toml aegis-daemon admin restore /path/to/aegis-backup-….tar.gz
sudo systemctl start aegis

The archive is checked first. The current database, key and releases are moved to a pre-restore-… folder in the data directory, not deleted. See disaster recovery.

Password

Enter your Current password, a New password (at least 12 characters) and repeat it, then Change password. Every session of yours is signed out, including this one, so sign in again with the new password.

Appearance and shortcuts