Self-host Vaultwarden: a password manager for teams
Run Vaultwarden, the Bitwarden-compatible server, for a small team on your VPS: HTTPS, closing sign-ups, the admin page, invitations and backups that restore.
A shared password manager is one of the first tools a small team needs and one of the last it wants to get wrong. Vaultwarden is the usual self-hosted answer: an unofficial server compatible with Bitwarden, written in Rust and licensed AGPL-3.0, light enough to run next to other apps on a small VPS. Your team keeps using the regular Bitwarden apps and browser extensions; only the server is yours. Facts below were checked on the Vaultwarden repository and wiki on 10 November 2026.
What a team gets
- Organizations with collections, member roles, groups and event logs, for sharing passwords by team or project.
- Send, for sharing a secret once with an expiry, and Emergency Access.
- Two-factor login: TOTP apps, email, FIDO2/WebAuthn security keys, YubiKey and Duo.
- An admin page for managing users and settings.
For comparison, Bitwarden’s own Teams plan is $4 per user per month billed annually ($6 for Enterprise), per bitwarden.com on 10 November 2026 — $480 a year for ten people. A free Bitwarden organization covers two users. Bitwarden’s paid cloud is a good product; self-hosting is about keeping the vault on infrastructure you control, not only about the price.
HTTPS is not optional
The Vaultwarden web vault relies on the browser’s Web Crypto API, which browsers only enable in a secure context. Served over plain HTTP, the web vault does not work. So Vaultwarden needs a real domain with a valid certificate. On Keenrig that is the default path: give the app a domain such as vault.example.com, point its A record at the server, and the certificate is obtained and renewed on the server.
curl -fsSL https://get.keenrig.com | sudo shVaultwarden is in the Keenrig app catalog. Install it from the App Store like any other app; its catalog page lists exactly what the entry configures.
Lock it down before you invite anyone
- Create your own account first, then turn off open registration with SIGNUPS_ALLOWED=false. A password manager on a public URL should not accept sign-ups from strangers.
- Organization owners and admins can still invite people when sign-ups are off; invitations are controlled separately by INVITATIONS_ALLOWED.
- Enable the admin page by setting ADMIN_TOKEN, then open /admin. The wiki recommends storing an Argon2id hash of the token, generated with the vaultwarden hash command, rather than the token in plain text.
- Set DOMAIN to the full https:// address so that invitation links point to the right place.
- Configure SMTP if you want invitations sent by email. Without it, you can still invite users from the admin page.
- Ask everyone to turn on two-factor login, and have the owner keep the recovery code offline.
Connecting the team’s apps
Nobody has to learn a new app. In the official Bitwarden browser extension, desktop app or mobile app, choose the self-hosted option on the sign-in screen and enter your server’s address, for example https://vault.example.com. Then sign in with the account created on your server.
- Create an organization for the company, and a collection per team or project, before inviting people. Moving items around later is tedious.
- Give most people the user role and keep owners to two people, so there is always someone else who can recover access.
- Agree on what goes in the shared vault and what stays personal. Shared collections are for credentials the team uses together; personal passwords belong in each person’s own vault.
- When someone leaves, remove them from the organization and rotate the shared credentials they could see. A password manager makes this possible; it does not do it for you.
Backups that you can actually restore
The Vaultwarden wiki lists what to keep:
- Required: the database (db.sqlite3) and the attachments folder.
- Recommended: config.json, which holds settings and secrets, and the rsa_key files — lose those and every user is logged out.
- Optional: the sends and icon_cache folders.
Do not copy a live SQLite file with cp. Use SQLite’s online backup (sqlite3 db.sqlite3 ".backup 'backup.sqlite3'") or, from Vaultwarden 1.32.1, its built-in backup command. When restoring, delete any stale db.sqlite3-wal file first.
On Keenrig, the instance backup command takes the app’s volume into an encrypted snapshot sent to a folder, NAS or your own S3, and a single app can be restored on its own. For a password vault, also keep one copy somewhere that is not this server and not this provider. Then practise a restore on a spare VPS once, before you need it.
What this does not give you
- It is not Bitwarden’s server. Vaultwarden is a separate community project, so Bitwarden’s support and its server audits do not cover it, and you should not call it Bitwarden.
- No high availability: one server, one SQLite database. If the VPS is down, clients keep their cached vault but cannot sync.
- Scheduled backups on Keenrig are still in progress; today you run the backup command yourself or from cron.
- You are responsible for the server it runs on. Keep the OS patched and SSH locked down — the vault is only as safe as the machine.
If your team also needs a way to know when the vault or any other app stops answering, see the Uptime Kuma guide on this blog.