A password manager is the one piece of infrastructure where "someone else runs it" has the highest price. Bitwarden is open source and can be self-hosted, but the official server is a resource-heavy multi-service stack. Vaultwarden is the alternative most self-hosters actually run: a single Rust binary that speaks the same API, so the official Bitwarden apps and browser extensions connect to it unchanged. 70,000+ GitHub stars, 3,400 forks, AGPL-3.0.

What Vaultwarden is

Vaultwarden (github.com/dani-garcia/vaultwarden) is an alternative server implementation of the Bitwarden Client API, written in Rust on the Rocket web framework and aimed at self-hosted deployments where running the official service is overkill. It was formerly called bitwarden_rs and was renamed to avoid confusion and trademark issues with the official server. The README is clear that this is an unofficial project: it is not associated with Bitwarden, Inc., although one active maintainer is employed by Bitwarden and contributes in their own time.

What you get

The README calls it a nearly complete implementation of the Bitwarden Client API, and the list is long:

  • Personal vault, Send, attachments, website icons and a personal API key.
  • Organizations with collections, password sharing, member roles, groups, event logs, admin password reset, Directory Connector support and policies.
  • Two-factor login through an authenticator app, email, FIDO2 WebAuthn, YubiKey or Duo.
  • Emergency access for trusted contacts.
  • A Vaultwarden admin backend for managing the server.
  • A modified web vault (from the bw_web_builds repo), bundled inside the container images.

Running it

The recommended install is the container image, published to ghcr.io, Docker Hub (vaultwarden/server) and Quay. The wiki explains which tag to use. Persistent data lives in the mounted /data volume. A minimal Compose file:

services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    restart: unless-stopped
    environment:
      DOMAIN: "https://vw.domain.tld"
    volumes:
      - ./vw-data/:/data/
    ports:
      - 127.0.0.1:8000:80

The port is bound to localhost on purpose, because the web vault needs HTTPS. It relies on the browser's Web Crypto API, which only works in a secure context, so without TLS the vault will not work. Rocket has built-in TLS, but the project recommends putting a reverse proxy in front instead. The wiki has proxy examples, and there are also community packages and instructions for building the binary yourself. Community packages can lag behind the latest version or be configured differently, so check them against the wiki.

Things to do before you trust it

  • Back it up. The disclaimer says the maintainers cannot be held liable for data loss, including passwords and attachments, and recommends regular backups of your files and database. Test a restore too, not only the backup.
  • Set DOMAIN correctly. It should be the public HTTPS address your clients will use.
  • Protect the admin page. The admin backend is a separate feature that you enable deliberately, and the wiki describes how.
  • Report bugs to Vaultwarden. The README is emphatic: with this server, send bugs and suggestions to the Vaultwarden project, not to the official Bitwarden support channels.

Who it is for

Good fit: individuals, families and small organizations who want a self-hosted password manager that uses the polished official apps; homelabs and small teams that need organizations, collections and sharing without the official stack; anyone who already runs Docker and a reverse proxy.

Not ideal: teams that need vendor support or a service level agreement; organizations that require the official, audited Bitwarden server for compliance; anyone who is not ready to take on backups, updates and TLS for a system that holds every credential they have.

My take

Vaultwarden works because it keeps the part users touch, the official client apps, and replaces the part they do not, the server. That gives you the familiar autofill and mobile apps with a much smaller thing to run. The cost is the usual one for self-hosting, and it is higher here than for most software: you are now responsible for the availability and the backups of your own passwords. Treat it like production. Use HTTPS, keep the image updated, restrict the admin page and restore-test your backups. With that in place, it is one of the best-maintained projects in the self-hosting world.

The project is active, with thousands of commits, Matrix and Discourse communities, and a wiki that covers most of the configuration questions you will run into.


PIPOLINE · DEVOPS CONSULTING

Need help running Vaultwarden for your team?

Docker Compose deployment, reverse proxy with HTTPS, admin page hardening, organization and collection setup, automated backups with restore testing, and migrating from other password managers.

Get in touch at pipoline.com