vaultwarden
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
1to65535;0no longer works. The same applies toUNAUTHENTICATED_RATELIMIT_SECONDSandUNAUTHENTICATED_RATELIMIT_MAX_BURSToverrides. vaultwarden.database.timeoutand anyDATABASE_IDLE_TIMEOUToverride must be from1to4294967295.DATABASE_MIN_CONNSmust not exceedDATABASE_MAX_CONNS.vaultwarden.email.attemptsLimitmust be from0to255. SMTP and icon-download timeouts, signup verification resend limits, and event/trash retention days cannot exceed65535or be negative. Invitation expiry hours must be from1to65535. Event/trash retention values remain strings in Helm; use""or"0"to disable cleanup.DUO_CONTEXT_PURGE_SCHEDULEandPURGE_INCOMPLETE_SSO_AUTHoverrides 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.twoFactorRememberDayscontrols how long a remembered two-factor login lasts, from1to90days (default30).vaultwarden.disable2FARemember: truestill forces a second factor on every login.vaultwarden.fillAssistRulesURLdefaults tohttps://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_IFRAMEare 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/registerandPOST /api/accounts/preloginendpoints 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/licenseannotation: Vaultwarden ships under AGPL-3.0, not MIT as previously listed. WEBSOCKET_ENABLEDwas renamed toENABLE_WEBSOCKETupstream;vaultwarden.websocket.enabledstill controls it.- Upstream removed the separate WebSocket port in
1.31.0- WebSocket traffic is now served on the main Rocket port.vaultwarden.websocket.portis deprecated, no longer rendered into the ConfigMap, and no longer exposed as a second container port. - Removed a broken Ingress rule that routed
/notifications/hubto 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.ssovalues block.sso.clientId/sso.clientSecretare stored in a dedicated Secret (or point atsso.existingSecret.name) analogous to the existing SMTP credentials handling.
Parameters
Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | The Docker registry to pull the image from | docker.io |
image.repository | The registry repository to pull the image from | vaultwarden/server |
image.tag | The image tag to pull | 1.37.5-alpine |
image.digest | The image digest to pull | "" |
image.pullPolicy | The Kubernetes image pull policy | IfNotPresent |
image.pullSecrets | A list of secrets to use for pulling images from private registries | [] |
Name overrides
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override vaultwarden.fullname | "" |
fullnameOverride | String to fully override vaultwarden.fullname | "" |
Workload overrides
| Name | Description | Value |
|---|---|---|
kind | The kind of workload to deploy Vaultwarden as (StatefulSet or Deployment) | StatefulSet |
Vaultwarden Configuration parameters
| Name | Description | Value |
|---|---|---|
vaultwarden.domain | The domain of the Vaultwarden installation | "" |
vaultwarden.web.enabled | Whether or not to enable the Vaultwarden Web UI - enabled by default | true |
vaultwarden.web.folder | A custom folder from which to load assets for the Web UI - defaults to 'web-vault/' | "" |
vaultwarden.allowSends | Controls whether users are allowed to create Bitwarden Sends. Applies globally to all users. | true |
vaultwarden.allowEmergencyAccess | Controls whether users can enable emergency access to their accounts. Applies globally to all users. | true |
vaultwarden.allowEmailChange | Controls whether users can change their email. Applies globally to all users. | true |
vaultwarden.enableOrgEvents | Controls whether event logging is enabled for organizations. Applies to organizations. | false |
vaultwarden.retainEventsDays | Number 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartvaultwarden is pinned at v0.7.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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