vaultwarden

by Ad Noctem Collective

Helm chartv0.7.1App 1.37.5AGPL-3.0Verified publisher

Vaultwarden is an open-source, community-supported, Bitwarden-compatible server written in Rust

About this chart

Ad Noctem Collective - Vaultwarden Helm Chart

Vaultwarden is an unofficial Bitwarden server implementation written in Rust. It is compatible with the official Bitwarden clients, and is ideal for self-hosted deployments where running the official resource-heavy service is undesirable. Vaultwarden is targeted towards individuals, families, and smaller organizations. Development of features that are mainly useful to larger organizations (e.g., single sign-on, directory syncing, etc.) is not a priority, though high-quality PRs that implement such features would be welcome. It delivers all of these features within a single Docker image available on Docker Hub.

Head to the Vaultwarden GitHub Repository for in-depth documentation and configuration templates.

✨ TL;DR

Helm Repository Installation

helm repo add adnoctem https://adnoctem.github.io/charts
helm install vaultwarden adnoctem/vaultwarden --version X.Y.Z

OCI Installation

helm install oci://ghcr.io/adnoctem/charts/vaultwarden:X.Y.Z

Introduction

This chart bootstraps a Vaultwarden StatefulSet or Deployment on a Kubernetes cluster using the Helm package manager. For cluster networking a Service and Ingress manifest is also created, whereas the Ingress needs to be explicitly enabled. Lastly the chart configures a PodDisruptionBudget if enabled. RBAC manifests are enabled by default.

The chart exposes Vaultwarden configuration via the vaultwarden key in Helm's values and makes use of the official Docker Hub container image, although this is configurable via the Image Parameters.

Upgrading

To 0.7.0 (Vaultwarden 1.37.4 -> 1.37.5)

This release fixes security issues in website icons and emergency access, and adds organization policy revision migrations for SQLite, PostgreSQL and MySQL. Back up the database and persistent data before upgrading, allow startup migrations to finish, and review the 1.37.5 release notes.

Review configuration before upgrading. Invalid effective configuration now stops startup, and several numeric settings use narrower unsigned types. Check Helm values, environment overrides and saved admin settings against the tagged configuration source. In particular:

  • Login and admin rate-limit seconds and burst sizes must be integers from 1 to 65535; 0 no longer works. The same applies to UNAUTHENTICATED_RATELIMIT_SECONDS and UNAUTHENTICATED_RATELIMIT_MAX_BURST overrides.
  • vaultwarden.database.timeout and any DATABASE_IDLE_TIMEOUT override must be from 1 to 4294967295. DATABASE_MIN_CONNS must not exceed DATABASE_MAX_CONNS.
  • vaultwarden.email.attemptsLimit must be from 0 to 255. SMTP and icon-download timeouts, signup verification resend limits, and event/trash retention days cannot exceed 65535 or be negative. Invitation expiry hours must be from 1 to 65535. Event/trash retention values remain strings in Helm; use "" or "0" to disable cleanup.
  • DUO_CONTEXT_PURGE_SCHEDULE and PURGE_INCOMPLETE_SSO_AUTH overrides must be empty or valid cron expressions.

A malformed or out-of-range saved config.json is logged as an error and ignored, so environment/default settings can apply instead. Repair that file before upgrading; do not assume saved admin overrides will remain active if it cannot be loaded. This is distinct from validation of the effective configuration, which can prevent startup.

Custom web vaults: the bundled web vault is 2026.10.1. Independently served versions older than 2026.7.1 may be incompatible. This server update supports the newer two-step login management and emergency account takeover payloads; validate those flows if you serve a custom web vault.

New configuration values:

  • vaultwarden.twoFactorRememberDays controls how long a remembered two-factor login lasts, from 1 to 90 days (default 30). vaultwarden.disable2FARemember: true still forces a second factor on every login.
  • vaultwarden.fillAssistRulesURL defaults to https://fillassist.bitwarden.com. A custom value must be an HTTPS base directory URL, without credentials, query parameters, fragments or surrounding whitespace.

Move matching TWO_FACTOR_REMEMBER_DAYS and FILL_ASSIST_RULES_URL entries from extraEnvVars to these values. Saved admin settings take precedence over environment values. The supported experimental flags now include fill-assist-targeting-rules, biometrics-sdk-ipc, windows-desktop-autotype and windows-desktop-autotype-ga. Enable at most one Windows autotype flag: enabling both disables autotype in clients.

To 0.6.0 (Vaultwarden 1.37.3 -> 1.37.4)

This release includes upstream security fixes and database migrations. Back up the database and persistent data before upgrading and review the [1.37.4 release notes][release_1374].

Review proxy trust before upgrading. The chart retains vaultwarden.ipHeader: X-Forwarded-For, but Vaultwarden now selects the rightmost address outside the trusted proxy set instead of the leftmost address. The new vaultwarden.ipHeaderTrustedProxies value renders IP_HEADER_TRUSTED_PROXIES and defaults to upstream's local (non-global addresses). With multiple proxies, include the addresses or CIDRs of every proxy in the chain, including any public CDN proxies. Otherwise logs and rate limits can use an intermediate proxy's address.

For example, replace these documentation addresses with your own proxy addresses and ranges:

vaultwarden:
  ipHeader: X-Forwarded-For
  ipHeaderTrustedProxies: "10.42.0.0/16,203.0.113.10,2001:db8:1234::/48"

Avoid all unless direct access to Vaultwarden is blocked and a trusted proxy controls the header. Use vaultwarden.ipHeader: none to ignore forwarded headers. Review any saved admin-panel overrides as well.

Remove unsupported experimental flags. Check vaultwarden.experimental.featureFlags and saved admin settings. Removed flags include ssh-agent, ssh-key-vault-item, mutual-tls, anon-addy-self-host-alias, simple-login-self-host-alias, pm-25373-windows-biometrics-v2, pm-26340-linux-biometrics-v2, desktop-ui-migration-milestone-1 through -4, cxp-import-mobile and cxp-export-mobile. They produce startup warnings and prevent saving admin settings. Use the supported list in values.yaml or the tagged [upstream configuration source][config_1374]; the default empty list needs no change.

Other compatibility changes:

  • Upgrade CLI clients using bw send receive: versions 2026.4.2 and older cannot receive Sends from this release. Creating and managing Sends remains supported.
  • Duo's legacy iframe prompt and DUO_USE_IFRAME are removed. Remove any external override and use the supported Duo login flow. The chart's existing Duo credentials remain applicable.
  • Custom email templates can now override email/recover_twofactor, the recovery-code login notification.
  • The legacy POST /identity/accounts/register and POST /api/accounts/prelogin endpoints are removed; update integrations that still call them.

Alpine with MySQL/MariaDB: servers without native TLS support may fail to connect with this image. Upstream's workaround is available through vaultwarden.database.mysqlDisablePeerVerification: true when vaultwarden.database.type: mysql. This sets MARIADB_TLS_DISABLE_PEER_VERIFICATION=1 and weakens TLS peer verification. Leave it disabled for databases with verified TLS; SQLite and PostgreSQL do not use this option.

If organization admins were not fully trusted, rotate the organization API key after updating, as recommended upstream; older releases exposed it to admins.

To 0.4.0 (Vaultwarden 1.30.5 -> 1.37.2)

  • Corrected the artifacthub.io/license annotation: Vaultwarden ships under AGPL-3.0, not MIT as previously listed.
  • WEBSOCKET_ENABLED was renamed to ENABLE_WEBSOCKET upstream; vaultwarden.websocket.enabled still controls it.
  • Upstream removed the separate WebSocket port in 1.31.0 - WebSocket traffic is now served on the main Rocket port. vaultwarden.websocket.port is deprecated, no longer rendered into the ConfigMap, and no longer exposed as a second container port.
  • Removed a broken Ingress rule that routed /notifications/hub to a Service port that was never actually defined by this chart's Service template - this was a pre-existing bug, unrelated to the WebSocket port removal above, and required no user action since the rule never worked.
  • Added SSO (OpenID Connect) login support via the new vaultwarden.sso values block. sso.clientId / sso.clientSecret are stored in a dedicated Secret (or point at sso.existingSecret.name) analogous to the existing SMTP credentials handling.

Parameters

Image parameters

NameDescriptionValue
image.registryThe Docker registry to pull the image fromdocker.io
image.repositoryThe registry repository to pull the image fromvaultwarden/server
image.tagThe image tag to pull1.37.5-alpine
image.digestThe image digest to pull""
image.pullPolicyThe Kubernetes image pull policyIfNotPresent
image.pullSecretsA list of secrets to use for pulling images from private registries[]

Name overrides

NameDescriptionValue
nameOverrideString to partially override vaultwarden.fullname""
fullnameOverrideString to fully override vaultwarden.fullname""

Workload overrides

NameDescriptionValue
kindThe kind of workload to deploy Vaultwarden as (StatefulSet or Deployment)StatefulSet

Vaultwarden Configuration parameters

NameDescriptionValue
vaultwarden.domainThe domain of the Vaultwarden installation""
vaultwarden.web.enabledWhether or not to enable the Vaultwarden Web UI - enabled by defaulttrue
vaultwarden.web.folderA custom folder from which to load assets for the Web UI - defaults to 'web-vault/'""
vaultwarden.allowSendsControls whether users are allowed to create Bitwarden Sends. Applies globally to all users.true
vaultwarden.allowEmergencyAccessControls whether users can enable emergency access to their accounts. Applies globally to all users.true
vaultwarden.allowEmailChangeControls whether users can change their email. Applies globally to all users.true
vaultwarden.enableOrgEventsControls whether event logging is enabled for organizations. Applies to organizations.false
vaultwarden.retainEventsDaysNumber of days to retain events stored in the database.

Deploy vaultwarden with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vaultwarden on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartvaultwarden is pinned at v0.7.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply