Self-hosted Bitwarden alternative for air-gapped networks

When the Bitwarden cloud regions are not an option at all, a self-hosted server can run offline. This page covers Bitwarden's offline install, the license file paid features still need, and Vaultwarden or Passbolt as offline alternatives.

On this page

Self-hosted Bitwarden alternative for air-gapped networks: when the cloud is out of scope

When no hosted cloud region is allowed and the network has no internet path, a self-hosted Bitwarden server, Vaultwarden or Passbolt can run offline, and the one dependency to plan for is the license file that paid Bitwarden features need. Bitwarden documents an offline installation for Linux servers in which the docker-stub package is carried across from an internet-connected machine, so the server, its images and its SMTP relay all have to be staged inside the boundary before cutover. The license itself is downloaded from the cloud web app and tied to the installation ID, so the step must happen while an internet-connected administrator still has access. Confirm the license terms and renewal process with Bitwarden before the network is sealed, because a license file cannot be fetched later from inside the boundary.

The options differ mainly in what they need from the outside world after installation. The official Bitwarden server keeps enterprise modules such as SSO under a source-available license that requires a paid subscription for production use, and it needs Docker Engine 26 or later and a database image sized for the organization. Vaultwarden is an AGPL-3.0 server that works with the official Bitwarden clients and can run from container images you mirror internally, but its SSO and policy coverage and its support model differ from the official server, so check each feature you depend on. Passbolt uses per-recipient OpenPGP encryption, which works well for shared infrastructure credentials, though its paid Pro features such as SSO and SCIM need their own review. The isolation requirement, not feature lists, should decide which option is shortlisted first.

Whichever server you pick, plan the offline lifecycle as carefully as the install. Every container image, package, client build and vulnerability feed must be transferred across the boundary and verified for integrity and authenticity, which is the control behavior NERC CIP-013-2 describes for vendor software and patches in utility environments. Client distribution also needs a plan, because the official apps and browser extensions will not update themselves inside the network. Back up the database and attachment files on a schedule, and test restores on an isolated host, since Vaultwarden's maintainers state they cannot be held liable for data loss and recommend regular backups. Ask your vendor or partner to write down the update, backup and license renewal steps before go-live.

What an air-gapped password manager has to satisfy

An isolated network removes the cloud fallback, so every server image, client, license and backup has to be planned for transfer and verification up front. The cards below cover the boundary controls, the password and MFA rules the vault must enforce, and the shared-credential accountability that auditors will test.

No runtime internet dependency

The server must start, authenticate users and restore backups without reaching any external host. Bitwarden's offline install still needs an offline SMTP server for email, and manual installs do not update some dependencies automatically. Ask each candidate to list every outbound call it makes at runtime, including icon fetches, update checks, license checks and telemetry, and confirm how each is disabled or proxied.

Bitwarden offline install

Controlled transfer across the boundary

Every container image, package, Helm chart and license file that crosses into the isolated network needs a documented route and an integrity check before it is loaded. This is the control NERC CIP-013-2 describes for verifying software integrity and authenticity, and it applies in many sectors even where that standard does not. Record who approved each transfer, the checksum or signature checked, and the version installed.

CIP-013-2 text

Password length and MFA rules

NIST SP 800-63B-4 sets a 15-character minimum for passwords used as a single factor and 8 characters for passwords used only within MFA. CIS Safeguard 5.2 asks for unique passwords on every enterprise asset. The vault has to generate and store these values, and the server admin must confirm it can enforce minimum length and MFA through policies rather than relying on user discipline.

NIST SP 800-63B-4

Shared credential accountability

PCI SSC FAQ 1080 allows shared credentials only in exceptional circumstances and only when every element of requirement 8.2.2 is met. It also notes that a password vault can help tie use of shared IDs to an individual. Check that the candidate logs who retrieved a shared secret and when, and that access can be revoked per person without rotating the secret for everyone.

PCI SSC FAQ 1080

Paid feature licensing offline

Bitwarden's paid features need a license file downloaded from the cloud web app and tied to the installation ID, and the data region must match the cloud organization. Plan how that file is obtained before the network is isolated and how renewals are carried in. Where a candidate's enterprise modules, such as SSO, sit under a source-available license, confirm the production terms with the vendor.

Bitwarden licensing

Scope check for sector rules

NERC CIP-005-7 governs Interactive Remote Access to high and medium impact BES Cyber Systems, and it applies only where the organization falls in that scope. Outside that scope, the password manager still needs the same boundary and integrity controls, but the Intermediate System and vendor session requirements do not automatically apply. Confirm applicability with your compliance lead before designing the access path.

CIP-005-7 text

Which server fits an offline network

Bitwarden publishes a documented offline installation for Linux servers. The package set is staged on an internet-connected machine, carried across the boundary, and installed on a host that has Docker Engine 26 or later, at least 2 GB of RAM and 12 GB of storage, plus an offline SMTP server. The install guide's recommended sizing is 4 GB of RAM and 25 GB, and the default image is MSSQL Express with a 10 GB database limit.

  • What runs offline: The server, its database and the clients can all run inside the isolated network once the packages are transferred. Manual installs do not update some dependencies automatically, so patching becomes a transfer job.
  • License position: The server code is AGPL 3.0, but the bitwarden_license directory, which holds SSO and other enterprise modules, is source-available. Production use of those modules needs a paid subscription.
  • License file step: Paid features need a license file downloaded from the cloud Admin Console and tied to the installation ID. The installation ID and key come from bitwarden.com/host using a valid email address, so confirm with Bitwarden how this step works when the server has no internet access.
  • Features: Enterprise policies and SSO are available only with the licensed modules, so the cost of the license stays in the design.
  • Operating model: Ask Bitwarden for the current offline procedure and the supported release cadence for your environment.

Confirm the license terms, the offline install steps and the license file process with Bitwarden before you commit the network design to this option.

Comparing Bitwarden, Vaultwarden and Passbolt for offline use

This table compares self-hosted Bitwarden, Vaultwarden and Passbolt on offline installation, licensing, client compatibility, SSO and policies, databases and support. Read each row as a question to put to the vendor or project for your own air-gapped build, since the cells reflect only the documented facts we checked. Main takeaway: the offline path, the license step and the client fit decide the choice more than the server features.

CriterionSelf-hosted BitwardenVaultwardenPassbolt
Documented offline installDocumented offline or air-gapped install for Linux, using a docker-stub package carried from an internet-connected machineNo offline installer documented in the README; confirm how container images are carried across the boundaryNot covered by the facts reviewed; confirm offline packaging and update path with Passbolt
Offline prerequisitesDocker Engine 26 or later, at least 2 GB RAM and 12 GB storage, plus an offline SMTP serverContainer images from ghcr.io, docker.io or quay.io; HTTPS required for the web vaultConfirm server, database and mail requirements with Passbolt documentation
License for paid featuresPaid features need a license file downloaded from the cloud web app and tied to the installation IDNo paid license; AGPL-3.0 server with features on the same serverFree Community Edition; Pro features such as LDAP provisioning, SSO and SCIM are paid
Enterprise code licensingEnterprise modules such as SSO sit under a source-available license that needs a paid subscription for productionOpen source under AGPL-3.0 with no separate enterprise moduleServer is AGPL-3.0; paid features are licensed separately
Client compatibilityOfficial Bitwarden apps and clientsWorks with the official Bitwarden apps through the Client APIUses its own browser extension and OpenPGP-based clients; confirm coverage for your device fleet
SSO and policiesSSO and enterprise policies are part of the licensed feature set; they must be redone after a migrationSSO with OpenID Connect added in 1.35.0; policies implemented; confirm each setting against your IdPSSO and SCIM are Pro features; confirm the identity provider list with Passbolt
Database choicesShips with MSSQL Express by default with a 10 GB database limit; the lite deployment supports other engines but is not for business useSQLite by default; MySQL or PostgreSQL through DATABASE_URL, with PostgreSQL recommendedConfirm supported database engines and backup tooling in Passbolt documentation
Vendor or community supportVendor support through Bitwarden channels for the licensed deploymentCommunity project; bugs go to Vaultwarden, not Bitwarden support; maintainers advise regular backupsVendor support tiers depend on edition; confirm the support terms for an air-gapped contract

How packages and licenses cross the air gap

The diagram starts on an internet-connected staging machine, which collects the Bitwarden docker-stub package, the container images and the license file downloaded from the cloud web app. Those items are checked on that side before they cross the boundary into the isolated network. Inside, the server, database, offline SMTP relay and clients run, and backups are written back to storage that never leaves the boundary. Confirm with your security team how each transfer is verified, since the boundary is only as strong as those checks.

Items allowed across the boundary, and backups that stay inside it.

How to deploy a self-hosted password manager offline

This sequence takes a self-hosted Bitwarden server from an offline package verified on an internet-connected machine to a tested, backed-up service that clients on the isolated network can use for paid features.

  1. Prepare and verify the offline package

    On an internet-connected machine, the team downloads Bitwarden's offline installation package, including the docker-stub package, and records checksums for every file. Whoever owns supply chain controls for the isolated boundary should confirm the package source and integrity before it crosses over, because NERC CIP-013-2 expects software integrity and authenticity to be verified for vendor software carried into an isolated environment. The step is done when the checksums and the transfer manifest are filed with the change record.

  2. Confirm host and Docker requirements

    The infrastructure team checks that the target Linux host has an x64 processor, Docker Engine 26 or later, at least 2 GB of RAM and 12 GB of storage. Bitwarden's install guide recommends 4 GB of RAM and 25 GB, and the default MSSQL Express image carries a 10 GB database size limit, so the team should size storage for growth. The step is done when the host reports the Docker version and free capacity in writing.

  3. Install the server from the offline package

    The platform engineer runs Bitwarden's offline installation procedure from the transferred package on the isolated host. The team should note that manual installs do not update some dependencies automatically, so base images and OS packages need a scheduled offline update path. The step is done when all containers start, the admin page loads on the internal address, and the installation is recorded with its version.

  4. Configure the offline SMTP server

    The team sets up an SMTP relay that runs inside the isolated network, because Bitwarden's offline procedure expects a local mail service for account invitations, verification and two-factor email. The admin confirms that the relay accepts mail only from the Bitwarden host and that delivery is logged. The step is done when a test invitation reaches an internal mailbox and the relay settings are documented.

  5. Apply the license file for paid features

    The organization owner downloads the license file from the cloud web app (Admin Console, Billing, Subscription) and ties it to the installation ID. The data region of the cloud organization must match the region the installation was set up for, so confirm this with the vendor before the download. The step is done when the license applies in the self-hosted admin console and the paid features show as active.

  6. Distribute clients and configure server URLs

    The desktop, browser and mobile clients are installed from internal software distribution, and each one is pointed at the internal server URL. Clients should be validated against the same build versions the server supports, and the team should confirm that the internal certificate chain is trusted on every endpoint. The step is done when a pilot group signs in, syncs a test vault and completes two-factor login.

  7. Test and document backups

    The operations team configures scheduled backups of the database and the server data directory, copies them to a separate store inside the boundary, and performs a restore into a test instance. Vaultwarden's maintainers and most self-hosted projects recommend regular backups of files and the database, so the team should treat this as an owned responsibility. The step is done when a restore has been completed, the recovery time is recorded, and the runbook is signed off by the service owner.

The license file and client distribution in a disconnected network

A self-hosted Bitwarden organization still needs a license file for its paid features, even when the server runs with no internet access. The file is downloaded from the cloud web app (Admin Console, Billing, Subscription) and is tied to the installation ID, so the download has to happen on a connected machine before the server is moved into the isolated network. Confirm two details with Bitwarden before you commit to a design: that the installation ID and the cloud organization sit in the same data region, because a mismatch blocks the license, and that the subscription covers the features you need, such as SSO, which lives in the bitwarden_license directory. Production use of that code requires a paid subscription under the Bitwarden License, which is source-available rather than open source, so the license cost stays on the budget even though the server code is AGPL 3.0.

Client distribution is a separate licensing question. The official Bitwarden clients are GPL v3.0 except their bitwarden_license directory, and the internal SDK is offered under GPL v3.0 or the Bitwarden Software Development Kit License v2.0. Your security team should decide how the clients reach managed devices, whether through an internal software catalog, a mobile device management tool or an approved package mirror, and should record the exact build version and checksum of each package carried across the boundary. The clients must then be pointed at the internal server URL, which has to be HTTPS because the web vault relies on the Web Crypto API.

Vaultwarden follows the same pattern. Because it implements the Bitwarden Client API, the official apps can be pointed at an internal HTTPS address hosted by Vaultwarden, so users keep the same clients while the server is a different AGPL-3.0 program. Vaultwarden has no paid license file, but it does not carry Bitwarden's enterprise feature set, and its SSO support comes from its own OpenID Connect configuration. Test each client platform against the internal URL, including mobile and browser extensions, before rollout, and treat client packages as a supply chain item to verify under your procurement controls.

Backups, updates and ongoing operation offline

Installing an offline password server is the easy part. The ongoing work is keeping encrypted data recoverable, moving each update across the boundary, and proving that a restore works. The cards below cover those recurring duties for Bitwarden, Vaultwarden and Passbolt inside the isolated network.

Back up files and database

The Vaultwarden maintainers state they cannot be held liable for data loss and highly recommend regular backups of both files and the database. Inside an air-gapped network, the backup target, its encryption and its retention are your responsibility, so define them before go-live. Check that the database and attachment files are captured together, so a restore does not pair a new vault with old attachments. Confirm the backup schedule with your security team and record where copies are kept.

Vaultwarden README

Test restores inside the boundary

A backup that has never been restored is an assumption, not a control. Schedule restore tests on a separate isolated host that uses the same server version, then log in with a test account and confirm vault items, collections and attachments open correctly. Keep the restore procedure written down so someone other than the original installer can run it. Record the date and result of every test as evidence for your compliance assessor.

Stage each update before import

Bitwarden publishes self-host releases monthly, so each update in an offline network needs a fresh transfer of the package and its dependencies. Verify the package and image integrity against what the vendor publishes before it crosses the boundary, as NERC CIP-013-2 expects for software carried into a protected environment. Apply updates first to a staging server with a copy of production data, then promote them. Check the release notes for database migrations, since a rollback may not be simple.

Bitwarden self-host releases

Plan manual dependency updates

Bitwarden notes that manual installs do not update some dependencies automatically. Your team must track operating system packages, Docker Engine and the database image on its own schedule, and carry each patch across the boundary. Keep a dated inventory of versions in each environment, so you can show which components were patched and when. Ask whether your change process treats the host platform as a separate system with its own maintenance window.

Bitwarden offline install guide

Do not use lite for business

Bitwarden lite is a single-container deployment with a low RAM requirement, and Bitwarden states it is intended for personal use and home labs, not business use. Teams that start with lite to test an air-gapped setup should plan a migration to the full installation before production. Confirm that the production design uses the supported Linux installation and its required components. Document this decision so a later rebuild does not revert to the lighter option.

Bitwarden lite guide

Keep the paid license current

Paid features need a license file tied to the installation ID, and that file must be downloaded from the cloud web app and carried into the network. Each license renewal or change creates another transfer event, so record who holds the cloud account that issues it. Confirm the license expiry date and the renewal process with the vendor well before it falls due. Plan for what happens to paid features if the license lapses during an isolation period.

Bitwarden licensing guide

Questions buyers ask before deploying an air-gapped password manager

Is Bitwarden's offline install enough to run without a license?

No. Bitwarden's offline installation for Linux servers lets you install and run the server without internet access, but paid features such as SSO and other enterprise modules need a license file. That file is downloaded from the cloud web app (Admin Console, Billing, Subscription) and tied to your installation ID, and its data region must match the cloud organization's region. The offline install is therefore a deployment method, not a licensing exemption. Confirm with Bitwarden how the license file is delivered to a network with no outbound access, because the download happens on an internet-connected machine before transfer. Also note that the server code outside the bitwarden_license directory is AGPL 3.0, while the enterprise modules fall under a source-available license that requires a paid subscription for production use.

How much effort do the transfer and verification take, and what drives it?

Effort depends on how many components cross the boundary and how many checks your process requires. The offline Bitwarden path needs a docker-stub package prepared on an internet-connected machine, Docker Engine 26 or later, at least 2 GB of RAM and 12 GB of storage (Bitwarden recommends 4 GB and 25 GB), and an offline SMTP server. Manual installs do not update some dependencies automatically, so each update is a new transfer. Verification work includes checking every package and image for integrity and authenticity, which is the control NERC CIP-013-2 describes for supply chain procurement. Ask your team to quote the transfer cycle, the verification steps, and the update cadence separately, since the recurring part usually outweighs the first install.

Is Vaultwarden suitable for a regulated air-gapped network?

It can be, but it needs a documented risk decision. Vaultwarden implements most of the Bitwarden Client API, works with the official apps, and supports organizations, collections, SSO through OpenID Connect and several two-factor methods. It is an unofficial, community-maintained server, and its README states it is not associated with Bitwarden, Inc., that bugs go to the Vaultwarden project, and that maintainers cannot be held liable for data loss. Regulators and assessors will ask who patches it, who supports it, and how your evidence maps to your controls. Vaultwarden uses SQLite by default and recommends PostgreSQL through DATABASE_URL, so the database choice and backup routine should be settled before assessment. Confirm which features your regulator or customer requires before choosing it.

What does the work need from the client's own team?

Expect to supply people who own the platform after handover, not only people who approve the purchase. The work typically needs an infrastructure owner for the Linux or Kubernetes hosts, someone who can run the offline transfer and verify packages, an identity contact for SSO and user provisioning, an SMTP and email owner for the offline mail server, and a backup and restore owner who tests recovery. Security or compliance staff need to define the evidence they will review. If you plan to use the official Helm charts on Kubernetes, the cluster itself must be built without internet access, which adds platform engineers to the list. Ask any implementation partner to list these roles in the written scope so you can see which ones you must staff.

Can our team run it alone after deployment?

Some teams can, if they already run Docker or Kubernetes in isolated networks and have a tested transfer process. The hard parts are rarely the first install. They are the recurring transfer of new releases, rotating the license file when terms change, restoring from backup, and keeping the server and clients in step. Bitwarden publishes monthly releases, and the server and self-host projects publish separately, so your process must track both. Vaultwarden releases on its own schedule and is maintained by volunteers, so you may need an internal owner who can read changelogs and test upgrades. If your team lacks this experience, a fixed-scope engagement can cover the build, the documentation and the handover, with ongoing support or upgrades available as a retainer.

How do we keep backups and restores working without internet access?

Backups must be stored inside the boundary, tested, and written down. Vaultwarden's maintainers say they cannot be held liable for data loss and recommend regular backups of files and the database, so this responsibility sits with you. For Bitwarden, the database and configuration need to be captured together, and the install ID and license file must be recoverable, since they bind the server to its paid features. Keep copies of the container images and offline packages needed to rebuild the server, because you cannot pull them during a restore. Ask for a restore test as a deliverable in any written scope, and record the time it takes so you can plan a recovery window.

What should we ask for in a quote for an air-gapped password manager?

Ask for each cost component separately, with one-time and recurring items labeled. The one-time items usually include design, the first offline build, client distribution, SSO and policy setup, migration of vault data, and handover documentation. Recurring items include the Bitwarden license subscription if you choose the paid path, server and storage hosting, the transfer and verification cycle for each update, backup testing, and support. Bitwarden's license terms and any Vaultwarden support arrangement are not priced in the same way, so compare the license line separately from labor. Ask the provider to state the scope, the deliverables, the assumptions about your environment and what you must provide, because those assumptions drive most of the variance. DeployOpen provides a quote based on a written scope, not a published price list.

What drives the cost of an offline deployment

The main cost of an offline Bitwarden deployment is often the license, not the hardware. Self-hosting the server is free, but paid features such as SSO and the enterprise modules need a license file downloaded from the cloud web app and tied to the installation ID. That license is a recurring subscription, and it is still payable when the server sits on an isolated network. Ask the vendor in writing which plan and seat count the license covers, whether renewal is annual, and whether a license file can be issued for an installation that has no internet access at all. Vaultwarden or Passbolt remove this line item but move feature and support work onto your team.

The infrastructure lines are mostly one-time, with some recurring parts. The Bitwarden Linux guide lists 2 GB of RAM and 12 GB of storage as the minimum and recommends 4 GB of RAM and 25 GB, and the bundled MSSQL Express image caps the database at 10 GB. Plan for a second, separate system to hold the offline SMTP service, since Bitwarden's offline guide expects one. Recurring costs include storage for backups and for the staging media used to carry images and packages across the boundary, along with the staff time needed for each transfer. Quotes should separate hardware, storage, SMTP and licensing so each line can be checked against the environment.

Staff time and implementation work are the costs most often left out of a comparison. Each release means building the update package on a connected machine, verifying it, carrying it across, and repeating the install steps, and the guide notes that manual installs do not update some dependencies automatically. Backups, restore tests and the documentation that an auditor will request add recurring effort. Ask any implementation partner for a fixed-scope quote that lists the transfer procedure, the first installation, the restore test, the handover and the expected cost of a single update cycle. Those items decide whether the offline setup stays affordable after the first year.

How DeployOpen deploys password managers in isolated networks

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside the client's own air-gapped networks. For password managers, that means the server, the client distribution path, the license handling and the backup routine are agreed in writing before any work starts.

How we scope

  • Written scope defines which password manager option applies: self-hosted Bitwarden, Vaultwarden or Passbolt, with the reasons recorded.
  • Scope lists the isolated network zones, user populations, client platforms and the offline package transfer process.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing; ongoing support is available as a retainer.

How we build

  • Offline install of the server, with every container image, package and dependency verified before it crosses the isolation boundary.
  • Configuration of SSO, two-factor login, admin access, audit logging and the database backend according to the agreed design.
  • Testing of the deployment, including access controls, credential handling and restore from backup, with findings fixed and retested.

How we hand over

  • Documentation of the installation, the license file step for paid features, update procedures and the offline package workflow.
  • Evidence packs for compliance and security teams that map the controls to the client's assessment, without issuing audit reports or certifications.
  • Handover sessions for administrators covering backups, restores, user onboarding and the steps to confirm each release before deployment.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so each offline update is planned and tested.
  • Periodic restore tests and backup checks, scoped and documented in the retainer agreement.
  • Retesting after changes to the server, the database or the client distribution method.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.