Skip to content

Category: Security

Managed Vaultwarden: a password manager for your team

Your team's passwords on a server that belongs to you, with the familiar Bitwarden apps and extensions, folders shared per team and leavers whose access is cut off instantly.

Where it runs
In your account, in your name
Backups
With tested restores
Updates
Planned and documented
Licence
Open source, AGPLv3 (community project, not an official Bitwarden product)

In short

Vaultwarden is an open source server, licensed under AGPLv3, that works with the official Bitwarden apps. It is a community project, not a Bitwarden product. We set it up in your account with HTTPS, organise organisations and collections, enable two-factor authentication and, if you want, sign-in through Keycloak, lock down the admin panel and take care of backups and upgrades.

What do we look after?

A password manager holds the keys to everything else: if it goes down, nobody gets into anything; if it is lost, there is no way to recover what it held. That is why we treat it as a critical service even though it uses very few resources.

  • Organisations

    Collections per team or project, with who can view and who can edit each one.

  • Two-factor

    Authenticator app or security keys, enforced through an organisation policy.

  • Joiners and leavers

    Invitations instead of open sign-up, and leavers removed from the collections.

  • Exposure

    HTTPS, a closed admin panel and blocking of repeated failed sign-in attempts.

  • Backups

    Database, attachments and server keys, encrypted and off the machine.

  • Upgrades

    Up-to-date releases that work with the Bitwarden clients your team uses.

Which architecture do we recommend?

Vaultwarden is a single program in a container, much lighter than the official Bitwarden server. In front of it sits a reverse proxy with HTTPS, and behind it a database: SQLite is enough for a small team; PostgreSQL when there are more of you or you want the database separate from the machine. High availability usually costs more than it is worth here: we prefer frequent backups and a restore rehearsed down to minutes.

Situation What we set up Why
Small team One container with SQLite and frequent off-site backups Simple, cheap and quick to restore
Large team or several offices Vaultwarden with managed or replicated PostgreSQL The database is backed up and monitored separately
You already run Keycloak Sign-in through OpenID Connect and two-factor in Keycloak Leavers are handled in one place

Which problems do we find when Vaultwarden is self-hosted?

  • Open sign-up: anyone who finds the address can create an account.
  • Admin panel with a plain-text token: or simply open to the internet.
  • Backups that only include the database: without the attachments or the server keys.
  • Backup on the same machine: if the disk fails, the vault and the backup go together.
  • Old releases: new clients that stop syncing with a server that was never upgraded.
  • Passwords shared outside the collections: personal accounts holding company credentials.

How do we protect access?

Vaultwarden is only published over HTTPS and sign-up stays closed: people join by invitation from the organisation. The admin panel uses a token stored as an Argon2 hash, restricted to specific networks or disabled when not in use. In front, the proxy limits requests and fail2ban blocks addresses that fail to sign in again and again. We enforce two-factor through an organisation policy and, if you already run Keycloak, sign-in goes through it, so removing someone from your directory also locks them out of the password manager.

How do we handle backups and upgrades?

We back up the database, attachments, Sends and server keys, encrypted, to storage off the machine, and off the provider if you ask. We run test restores on another machine and check that we can sign in and open an entry. Before upgrading we read the release notes, take a backup and test with the client versions your team uses; security releases are applied as soon as they come out.

Vaultwarden or Bitwarden?

Both are used with the same apps. The difference is the server:

  • Vaultwarden (AGPLv3, community project): a lightweight container that implements nearly all of the Bitwarden API, with organisations, collections, Sends, emergency access and two-factor and no licence to pay for. It has no vendor support and no Bitwarden audits.
  • Self-hosted Bitwarden (official server): commercial support and security audits from the vendor; the business features need a paid licence.

Our recommendation: for a technical team that wants its passwords on its own infrastructure, Vaultwarden. If a contract or an auditor requires vendor support, the official Bitwarden server. For the credentials that machines use rather than people, see OpenBao and HashiCorp Vault. The risks of self-hosting it and when paying for Bitwarden makes sense are covered in this article.

How the pieces fit together
  1. Bitwarden appsBrowser, mobile and desktop
  2. Reverse proxyHTTPS and rate limits
  3. VaultwardenA single container
  4. PostgreSQLOr SQLite for small teams
  5. BackupsEncrypted and off the server

Where do we set it up?

In your account, with the provider you already use or the one that fits best. If the data has to stay in the EU, Hetzner and OVHcloud are the European options.

Providers we set it up on

  • Hetzner
  • AWS
  • Google Cloud
  • Azure
  • DigitalOcean
  • OVH
  • Own server
ProviderHow we set it upThings to bear in mind
HetznerA small cloud server with Vaultwarden on Docker, the Hetzner firewall open to HTTPS only and backups to Object Storage in another location.Vaultwarden uses very few resources: there is no need for a big machine.
AWSVaultwarden on an EC2 instance or on ECS, with RDS for PostgreSQL if the team is large and backups to S3 in another region.
Google CloudVaultwarden on Compute Engine or GKE, with Cloud SQL for PostgreSQL if needed.
AzureVaultwarden on a virtual machine or on AKS, with Azure Database for PostgreSQL if needed.
DigitalOceanA Droplet with Vaultwarden and backups to Spaces.
OVHA Public Cloud instance or a VPS with Vaultwarden and backups to OVHcloud Object Storage.
Own serverVaultwarden on your server or a virtual machine, published over HTTPS.If the server is in the office, the backup has to leave the office.

What is included

  • Vaultwarden in your cloud account or on your server, in a container, with the configuration described as code.
  • An SQLite database for small teams, or PostgreSQL when usage calls for it.
  • Organisations and collections per team or project, with read or edit permissions.
  • Mandatory two-factor authentication with an authenticator app or security keys (WebAuthn).
  • Sign-in through Keycloak or another OpenID Connect provider, if you need it.
  • Open sign-up switched off: only people who receive an invitation can join.
  • A protected admin panel, HTTPS and blocking of repeated failed sign-in attempts.
  • Encrypted backups off the server, with a test restore, and reviewed upgrades.

Frequently asked questions

Is Vaultwarden an official Bitwarden product?

No. Vaultwarden is a community project, licensed under AGPLv3, that implements the same protocol as the Bitwarden server. It is not associated with Bitwarden, Inc. and does not come with its support. What you do use are the official Bitwarden apps and extensions, pointed at your server.

Do the Bitwarden apps and extensions work?

Yes: the browser extension, the mobile app, the desktop app and the web vault. Now and then a new client release needs a new Vaultwarden release, so we read the release notes before every upgrade and keep the server up to date.

Can we sign in with Keycloak or our single sign-on?

Yes, since version 1.35.0 Vaultwarden supports sign-in through OpenID Connect, with Keycloak or another provider. Each person still has their master password, though: it is what encrypts their vault, and SSO decides who may sign in rather than replacing it.

What happens if someone forgets their master password?

Nobody can decrypt their vault without it, us included. If the organisation has the admin password reset policy enabled and the person was enrolled, an administrator sets a new one for them. That is why we enable it from the start and document how it works.

Can we bring our passwords over from another manager?

Yes. The web vault imports exports from 1Password, LastPass, KeePass, Bitwarden itself and CSV files, among others. We prepare the organisations and collections first so that every password ends up in the right place, and we make sure the export files are deleted afterwards.

Tell us about your case

Call or write to us and we'll tell you where you stand and where to start. Free, no strings attached.

Official documentation consulted

The technical details on this page are based on:

Reviewed on

WhatsApp