Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Self-hosting

Choose a self-hosted password manager for you or your team

Vaultwarden, Bitwarden, Passbolt, Psono or KeePassXC: pick a self-hosted password manager by who shares secrets, then lock down HTTPS, backups and restores.

CloudSat teamNovember 18, 20267 min read
Abstract illustration of a glowing vault door split into several keyholes, each linked to a small device by a thin line of light
On this pageStart with the threat model

Hosting your own password manager moves trust from a vendor to you. You decide where the encrypted vault lives and who can reach it, and you also become the person who patches the server, keeps the backups and answers when a family member is locked out. Two questions narrow the field quickly: who needs to share secrets, and what are you defending against?

Start with the threat model

All the tools below encrypt on the client. Your master password or private key never reaches the server, which stores ciphertext. That changes what a compromised server means:

  • Stolen database: the attacker gets encrypted vaults and can try to guess master passwords offline. A long passphrase is what holds here, not the server.
  • Modified server code: a server that serves a web app can be made to serve a malicious one that captures passwords as they are typed. Browser extensions and mobile apps installed from their stores do not load code from your server, so use them for daily work and treat the web vault as an admin tool.
  • Downtime: clients keep an encrypted local copy, so reading entries usually still works. Edits and sharing wait.

Patching speed matters as much as the choice of tool. Vaultwarden 1.37.4, released in October 2026, fixed several security advisories, one of them rated High, and 1.37.5 fixed two more in November. A password server should get updates within days, not at the next maintenance window.

The candidates at a glance

Tool License Fits Clients Server needs
Vaultwarden AGPL-3.0 One person to a small team Official Bitwarden apps and extensions Docker, a domain, HTTPS
Bitwarden, self-hosted AGPL-3.0 core, some code under the Bitwarden License Businesses that want the vendor's server; lite edition for home labs Bitwarden apps and extensions Installation ID and key from Bitwarden
Passbolt CE AGPL-3.0 Teams sharing credentials with permissions Browser extension (required), mobile, desktop, CLI SMTP, a GPG server key, 2 cores and 2 GB recommended
Psono CE Apache-2.0 Teams that prefer a permissive license Web client and others PostgreSQL, a reverse proxy, email
KeePassXC with a synced file GPL-2 or GPL-3 One person, no server Desktop apps; KeePass-compatible mobile apps Nothing exposed to the internet

One person: a file or a small server

KeePassXC keeps everything in a single KDBX file on your devices. It runs on Windows, macOS and Linux, and version 2.8.0, released in October 2026, added remote database synchronization through external tools, key generation in its SSH agent, and passkey refinements in its browser integration. Sync the file with Syncthing and there is no server to attack at all.

The cost is conflict handling. Edit the database on two devices before they sync and Syncthing keeps both, adding sync-conflict to one file name. KeePassXC can merge the second file into the first (Database > Merge From Database), but that is a manual step. If you edit on several devices every day, a server-based tool will annoy you less.

A household: Vaultwarden

Vaultwarden is an unofficial, community-maintained server written in Rust that speaks the Bitwarden API. You keep the official Bitwarden apps and browser extensions, point them at your own URL, and get organizations for shared collections (a "Family" folder of streaming and utility logins), two-step login with an authenticator app or a FIDO2 key, and emergency access, which lets a trusted person request your vault after a waiting period you choose.

Bitwarden's own answer for small setups is Bitwarden lite, the single-container server formerly called Bitwarden Unified. It left beta in December 2025, supports SQLite, PostgreSQL, MySQL or MariaDB and MSSQL, needs at least 200 MB of RAM, and requires an installation ID and key generated at bitwarden.com/host. Bitwarden describes it as meant for personal use and home labs, not business use.

A team with permissions: Passbolt, Psono or Bitwarden

Teams need more than shared folders: groups, per-item rights, and a clean way to remove someone who leaves.

  • Passbolt CE is built around sharing. Each user has an OpenPGP key pair held by the browser extension, and a secret is encrypted separately for everyone allowed to read it. The extension is mandatory, even for the first administrator. The install needs a working SMTP server for invitations and notifications, a GPG key pair for the server itself and a synchronized clock, and Passbolt recommends 2 cores and 2 GB of RAM on a clean server with nothing else installed.
  • Psono CE is Apache-2.0 licensed and encrypts vault data in the client before it is sent. It runs as a Docker image against PostgreSQL, needs a reverse proxy for TLS, and uses email for account activation. Psono states that its business features are free for up to 10 users.
  • Bitwarden's standard self-hosted deployment is the choice when the company wants the vendor's own server and support. Its business features are tied to Bitwarden's paid plans, so price it before you build on it.

Run Vaultwarden behind HTTPS

The Bitwarden web vault relies on browser crypto APIs that most browsers only offer over HTTPS, and the server needs a DNS name, not a bare IP. Vaultwarden recommends a reverse proxy over its built-in TLS. This layout keeps the container on localhost and lets Caddy obtain the certificate.

Generate an admin token hash first. The command asks for a password twice and prints an Argon2id string:

docker run --rm -it vaultwarden/server /vaultwarden hash

Store it in .env in single quotes, so Compose does not treat the $ signs as variables:

VW_ADMIN_TOKEN='$argon2id$v=19$m=65540,t=3,p=4$...'
services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    restart: unless-stopped
    environment:
      DOMAIN: "https://vault.example.com"
      SIGNUPS_ALLOWED: "true"
      ADMIN_TOKEN: ${VW_ADMIN_TOKEN}
    volumes:
      - ./vw-data:/data
    ports:
      - "127.0.0.1:8080:80"
vault.example.com {
    @admin {
        path /admin*
        not remote_ip 198.51.100.0/24
    }
    respond @admin 403
    reverse_proxy 127.0.0.1:8080
}

Create your accounts, then set SIGNUPS_ALLOWED to "false" and run docker compose up -d again so strangers cannot register. The Caddy matcher refuses /admin to everyone outside your office or VPN range. Once the configuration is final, you can disable the admin page entirely: remove ADMIN_TOKEN and delete the admin_token key from vw-data/config.json, because settings saved in the admin page override environment variables.

On CloudSat, Vaultwarden and Passbolt are one-click apps. Vaultwarden is comfortable on a 1 GB Cloud VPS at $2.78/mo, while Passbolt's two recommended cores point to the 4 GB plan at $11.58/mo.

Public or VPN-only

A public vault syncs phones and laptops anywhere, which is what most families want. A VPN-only vault (WireGuard or a mesh VPN) removes the login page from the internet, at the price of devices that only sync while connected. A reasonable middle path: keep the vault public with two-step login enforced, signups off and /admin restricted, and put the server's SSH port behind the VPN.

Backups you have restored once

For Vaultwarden, the data folder holds what matters. db.sqlite3 and attachments/ are required, config.json and the rsa_key* files are recommended, and sends/ is optional. Copy the database with SQLite's online backup so a running server cannot corrupt the copy, then archive the other files:

sudo apt install -y sqlite3
mkdir -p backups
sudo sqlite3 vw-data/db.sqlite3 ".backup 'backups/db-$(date +%F).sqlite3'"
sudo tar czf "backups/vw-files-$(date +%F).tar.gz" \
  --exclude='db.sqlite3*' --exclude='icon_cache' -C vw-data .

Encrypt both before they leave the server, since config.json can hold plaintext secrets such as SMTP passwords. Then test them: restore into an empty folder, start a second container on another localhost port, reach it through an SSH tunnel (browsers treat http://localhost as secure), log in and open an attachment. A backup you have never restored is a hope, not a backup.

FAQ

Is Vaultwarden as safe as the official Bitwarden server?

It is a separate code base maintained by volunteers, not by Bitwarden, and it ships security fixes regularly, as the 2026 advisories show. The encryption happens in the official Bitwarden clients either way. What decides your risk is how fast you update and how well you restrict the server.

What happens if my server is down?

Bitwarden-compatible clients keep an encrypted local copy, so you can usually read and fill entries. New items, edits and sharing wait for the server. Keep the restore procedure written down somewhere that does not depend on the vault.

Can I move from a hosted password manager?

Yes. Export from the old service, import into the new vault, check a sample of entries and attachments, then delete the export file securely: it holds every password in plaintext. Move shared folders last, once everyone has logged in to the new server.

Which one for a team of ten?

Passbolt CE if per-item permissions and groups are the priority, Vaultwarden if the team already knows the Bitwarden apps and shares by collection. Run a two-week pilot with real shared items before you migrate everyone.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.