Open-source alternative to Bitwarden Secrets Manager

Teams running Bitwarden Secrets Manager projects and machine accounts for pipelines can self-host Secrets Manager under Bitwarden licensing, or move to OpenBao or Infisical. The right choice depends on license terms, dynamic secrets and how workloads receive secrets.

On this page

Can OpenBao or Infisical replace Bitwarden Secrets Manager for pipelines?

OpenBao and Infisical are the two main open-source options for teams whose pipelines and workloads read secrets from Bitwarden Secrets Manager projects through machine accounts. A third path is self-hosting Secrets Manager itself, which keeps the same product and workflow but brings Bitwarden's own license terms with it. The right answer depends on how the team reads those terms, which secret types the pipelines actually need, and how much operating work the team can absorb.

Four drivers should frame the review. The first is license for production: self-hosting Secrets Manager does not automatically mean open-source production use, so the team should check which components it runs and under which license, using Bitwarden's server license FAQ as a starting point. The second is dynamic secrets. OpenBao documents dynamic secrets for systems such as Kubernetes and SQL databases with leasing and automatic revocation, and Infisical documents dynamic secrets for PostgreSQL and MySQL. The third is Kubernetes injection, where Infisical offers a Kubernetes operator and an injection agent, and OpenBao relies on its Kubernetes auth method. The fourth is operating burden, covering high availability, storage backend choice and upgrades.

Before choosing, confirm the points that vary by environment: which machine account types and secret formats the pipelines use, whether Infisical features needed in production sit under its enterprise license, and whether the team can run OpenBao's high-availability storage with Raft or PostgreSQL. Ask each candidate vendor or implementation partner for the current release and support terms in writing, since release cadence changes quickly. This page does not replace the team's own assessment of its environment, its threat model or its compliance obligations. It gives a structure for that assessment, and the decision should rest on a pilot against the team's real pipelines.

Which Secrets Manager capabilities map to OpenBao and Infisical

This table maps the Bitwarden Secrets Manager features that teams rely on for pipelines to OpenBao and Infisical, noting where each platform covers the need and where you must confirm details. Use it to shortlist candidates, then test the rows that matter most to your pipelines against current vendor documentation and a pilot.

Secrets Manager capabilityOpenBaoInfisical
Projects and secret organizationOrganizes secrets through paths, mounts and namespaces, which need a deliberate layout for pipelines. Confirm the namespace model fits your team structure.Dashboard per project and environment, which maps closely to how Secrets Manager projects are used. Confirm environment and folder naming against your pipelines.
Machine accounts for pipelinesMachine identities authenticate through AppRole for servers, Kubernetes, JWT/OIDC and TLS certificates. Confirm the auth method for each pipeline runner.Machine identities authenticate with Kubernetes, AWS, GCP, Azure, OIDC or Universal Auth. Confirm which identity types your CI platform supports.
Access controlPolicy-based access control on paths and tokens, with login MFA available. Expect to write and review policies as code.RBAC, temporary access, access requests and approval workflows. Confirm the approval features in your edition, since some enterprise features need licensing.
Secret sync to platformsNo native sync to GitHub, Vercel or AWS in the documented feature set. Plan a custom integration or confirm available plugins.Secret syncs to platforms such as GitHub, Vercel and AWS are documented. Confirm each target and version before relying on them.
Kubernetes deliveryKubernetes is a documented auth method and dynamic secret target. Injection into pods typically needs an additional component, so confirm the approach.Kubernetes operator delivers secrets to workloads and reloads deployments; an agent injects secrets without code changes.
Dynamic secrets and leasingDynamic secrets for systems such as Kubernetes and SQL databases, with leasing and automatic revocation and bulk revocation. This is a core strength.Dynamic secrets documented for PostgreSQL and MySQL, plus secret rotation. Confirm the database and cloud targets you need.
Self-hostingOpen source under MPL-2.0 with HA through integrated storage (Raft) or PostgreSQL. Confirm the storage backend and HA design with your platform team.Self-hosted via Docker, Docker Compose, a Helm chart with bundled PostgreSQL and Redis, Linux packages or AWS or GCP references. Confirm which features need enterprise licensing.
Licensing and enterprise featuresMPL-2.0 covers the repository, so no paid tier gates core secrets features in the documented sources. Confirm the status of any add-on you plan to use.Repository is MIT except ee directories under a separate license. Self-hosting docs say SSO and gateways need enterprise licensing; confirm current terms before you commit.

Three paths: self-hosted Secrets Manager, OpenBao or Infisical

Each option below keeps machine secrets inside your own infrastructure, but they differ in license, operating model and how far they reach beyond static secrets. Read them against your pipelines, your Kubernetes footprint and the controls your auditors will ask about.

Self-hosted Bitwarden Secrets Manager

This keeps the same projects, machine accounts and clients you already use, now on your own server. The server code is AGPL 3.0, but enterprise modules sit under the Bitwarden License, which needs a paid subscription for production use. Check whether Secrets Manager features you rely on fall in the licensed directory, and confirm the license file tied to your installation ID and data region. You still operate the database, backups, upgrades and the monthly release cadence yourself.

Bitwarden license FAQ

OpenBao for dynamic secrets

OpenBao is an MPL-2.0 fork of Vault that is a Sandbox project of the OpenSSF under Linux Foundation stewardship. Its strength is dynamic secrets and leasing with automatic revocation, including for Kubernetes and SQL databases, so pipelines receive short-lived credentials instead of stored ones. Choose integrated storage (Raft) or PostgreSQL for high availability, and confirm which backend your operations team can run safely. Expect a steeper learning curve for policies and auth method design than a project-based vault.

What is OpenBao

Infisical for Kubernetes and PKI

Infisical's repository is MIT licensed except content in any ee directory, which carries a separate license. Its Kubernetes operator reloads deployments when secrets change, and its agent injects secrets without code changes. It also bundles a private PKI with ACME and EST enrollment, a key management service and privileged access management with session recording. Confirm which enterprise features, such as SSO or gateways, need a license, since the self-hosting documentation says they do.

Infisical README

Machine identity and access model

Each option authenticates workloads differently, and this decides how much of your pipeline setup changes. Infisical supports Kubernetes, AWS, GCP, Azure, OIDC and Universal Auth identities, with approval workflows for access requests. OpenBao offers AppRole for servers, Kubernetes, JWT/OIDC and TLS certificate methods, and its docs recommend Userpass only for developer machines. Map every existing machine account to a target identity before you pick a platform.

Operating burden and audit evidence

Self-hosting moves backups, high availability, upgrades and access reviews onto your team, whichever option you choose. Ask each vendor for its supported database and HA layout, its upgrade path between minor lines and where audit logs are kept. Auditors mapping controls such as CIS Safeguard 5.2 will want evidence of unique credentials and who accessed each secret, so plan logging and retention before go-live. Ask for these items in writing from any implementation partner.

Why the Bitwarden license split changes self-hosting for Secrets Manager

The first question for any team considering self-hosted Bitwarden Secrets Manager is which parts of the code it would run under which license. The Bitwarden server code is licensed under AGPL 3.0, but files in the bitwarden_license directory, including Commercial.Core and SSO integration modules, fall under the Bitwarden License. That is a source-available license, not an open-source one under the OSI definition. The license FAQ says code under it may be used for development and testing, while production use requires a paid subscription. A server that runs in production with those modules therefore carries a subscription obligation even though most of the codebase is AGPL.

Before choosing self-hosting, ask Bitwarden in writing which Secrets Manager components sit under AGPL 3.0 and which sit under the Bitwarden License, and whether the clients and SDK you would deploy with them follow the same split. The Bitwarden clients repository and the internal SDK carry their own licenses, with bitwarden_license directories under the SDK license only, so the answer may differ by component. Ask whether a paid subscription is needed for each production use case, whether it is tied to the installation ID, and what happens to the license if the subscription lapses. Record the answers in your third-party software inventory before any pipeline depends on them.

OpenBao and Infisical need their own license review, not a reuse of the Bitwarden answer. OpenBao is MPL-2.0, a file-level copyleft license, and its governance sits under OpenSSF stewardship. Infisical's repository is MIT Expat except content in any ee directory, which is under the separate license in ee/LICENSE. Your review should confirm which features you need, such as SSO, gateways or advanced audit, and whether they sit in an ee directory. Legal and procurement should treat each candidate as a separate license decision, with the feature list written against the license text for the exact release you plan to run.

How a pipeline or workload gets a secret from the store

The flow starts with a CI job or Kubernetes workload presenting its identity to the store, using a method such as Kubernetes auth, JWT/OIDC or AppRole. The store checks the identity against its policy before returning either a stored secret or a dynamic credential with a lease. The lease and revocation path matters most: a leased credential expires or can be revoked in bulk, which is a control Bitwarden Secrets Manager machine accounts do not model the same way. The trust boundary sits between your network and the self-hosted store, and the storage backend and HA nodes stay your operational responsibility. Confirm each auth method and dynamic secret type in your own environment before you commit.

Workload authenticates, policy is checked, and a leased secret is returned from a self-hosted store.

Where dynamic secrets and Kubernetes injection change the choice

Most pipeline secrets are static values, such as registry tokens, deploy keys and API keys for third-party services. For this case, the question is less about advanced features and more about how a machine identity is granted read access, how often values are rotated by hand, and how the secret reaches the job without being echoed in logs. Bitwarden Secrets Manager already covers this pattern: secrets sit in projects, and machine accounts give pipelines scoped access. Infisical also fits static pipeline secrets well, with per-project environments, secret syncs and Universal Auth or OIDC identities for runners. OpenBao can serve static key/value secrets, but its strength lies in dynamic and leased secrets, so a team with only static pipeline secrets may find the operating overhead harder to justify.

  • Machine identity model: Compare how each tool authenticates a runner, for example Bitwarden machine accounts, Infisical Universal Auth or OIDC, or OpenBao AppRole and JWT/OIDC.
  • Log and artifact exposure: Confirm that secret values are masked in CI logs and never written to build artifacts or cache layers.
  • Rotation effort: Static secrets still need rotation. Check whether each tool can rotate them on a schedule or only flags them.
  • Runner network reach: Self-hosted runners must reach the secrets server. Test this from every runner pool, including ones outside the main cluster.

In your own pipelines, test a failed job, a revoked machine identity and a rotated value, and confirm each tool produces the expected result.

Keeping Bitwarden for people and moving machine secrets

Many teams keep Bitwarden Teams or Enterprise for human vaults and shared logins, and move pipeline and workload secrets to OpenBao or Infisical. The split works only if identity, audit, rotation and credential copies are assigned to one owner each across both systems.

Identity source for people and machines

Human users sign in to Bitwarden through SSO and directory sync, while pipelines and workloads authenticate to OpenBao or Infisical through machine identities such as Kubernetes, OIDC or AppRole. Decide which directory or identity provider is the source of truth for each group, and confirm that offboarding a person removes both their vault access and any machine account they administer. Confirm every trust relationship in your own environment before cutover, because SSO and OIDC configuration depends on your identity provider and network layout.

OpenBao auth methods

Audit and access review across two systems

After the split, an access review must cover the Bitwarden organization and the secrets platform separately. Build one review calendar with a named reviewer for each system, and export access lists from both on the same day. Ask the auditor which evidence they accept for each system, and confirm that the logs from each platform reach the same retention store, since a gap in either trail weakens the whole review.

Secret rotation ownership

Rotation is where split ownership most often fails. A database password held in a pipeline may also be stored in a shared Bitwarden entry, and rotating it in one place leaves the other stale. Assign each secret one system of record and one owning team, and document which platform triggers the change. OpenBao offers dynamic secrets for Kubernetes and SQL databases, and Infisical offers rotation and dynamic secrets for PostgreSQL and MySQL, so check which of your credentials can be issued dynamically and which still need a manual rotation runbook.

Duplicate copies of the same credential

The most common hidden risk is a credential that exists in both a personal Bitwarden vault and a machine secret store. Each copy widens the set of places a leaked password can come from, and each copy must be rotated and revoked. Run a one-time inventory of shared entries that match pipeline secrets, move each one to a single system of record, and delete the leftover copies. Repeat the inventory after each onboarding round, because people often paste a credential into their vault while troubleshooting a pipeline.

How to move projects, machine accounts and secrets off Secrets Manager

This sequence moves each Secrets Manager project to a store your team operates, switches every pipeline and workload to its new identity, and retires the old machine accounts only after the new path is verified.

  1. Inventory projects, machine accounts and consumers

    Platform engineering lists every Secrets Manager project, the secrets in each, and the machine accounts that read them. For each machine account, record the pipelines, Kubernetes namespaces, servers and applications that use it, plus the owner and the environments involved. Store this inventory in your ticketing or documentation system with secret names and locations only, never values. The step is done when every machine account maps to at least one named consumer and every secret maps to a project.

  2. Choose an auth method for each consumer

    For each consumer, pick how it will authenticate to the new store. OpenBao documents AppRole for servers, JWT/OIDC and Kubernetes auth for workloads and pipelines, and TLS certificates among other methods. Infisical lists Kubernetes, AWS, GCP, Azure, OIDC and Universal Auth for machine identities. Prefer identities the platform can issue without a long-lived shared secret. Record the chosen method per consumer, and confirm each method against the current documentation for the product you select. The step is done when a reviewer has signed off on the mapping.

  3. Stand up the target store in your infrastructure

    Deploy the chosen store in your own cloud account, data center or air-gapped network, with SSO for human administrators, audit logging, backups and a tested restore. For OpenBao, decide the storage backend and high availability design, with integrated storage or PostgreSQL as the officially supported HA options. For Infisical, decide between Docker Compose, the Helm chart or another documented method, and confirm which enterprise features need a license. The step is done when an administrator can log in, a test secret round-trips, and a restore has been rehearsed.

  4. Migrate secrets in controlled batches

    Move one project at a time, starting with a non-production environment. Use the export and import tooling that the current vendor documentation describes for that version, and confirm exact steps before running them, since tooling changes between releases. Run each batch from a controlled workstation or job, and keep values out of tickets, chat and commit history. Log batch IDs, secret counts and the operator who ran each batch. The step is done when counts match between source and target for each project.

  5. Switch consumers to the new identity

    Update each pipeline, workload and application to read from the new store using its new identity, one consumer group at a time. Change the client configuration, pipeline variables or Kubernetes injection settings, and keep the old machine account active during the switch. For Kubernetes, the Infisical operator or agent and OpenBao's Kubernetes auth are the usual paths to evaluate. The step is done when each consumer has completed a run or deployment against the new store and the logs show successful reads.

  6. Define and rehearse the rollback path

    Before revoking anything, document how each consumer returns to Secrets Manager if the new path fails. Keep the old machine accounts and their access intact until the rollback window closes, and note who has authority to reverse a switch. Rehearse one rollback in a non-production environment. Rollback is simpler while the source remains readable, so set the revocation date only after the team agrees the new path is stable. The step is done when the rollback steps are written, rehearsed and approved.

  7. Revoke old machine accounts and verify

    Once the rollback window closes, revoke the Secrets Manager machine accounts and remove their access tokens. Confirm no consumer still authenticates to Secrets Manager by checking access logs over a full operating cycle of your pipelines. Then remove or archive the old projects according to your retention policy, and confirm backups of the source data are handled under that policy. The step is done when access logs show no remaining use of the retired identities and the revocations are recorded in the change record.

What do teams ask before replacing Secrets Manager with OpenBao or Infisical?

What drives the cost of replacing Bitwarden Secrets Manager with a self-hosted alternative?

The cost depends on five components: software licensing, infrastructure, high-availability storage, backups and admin time, plus the integrations your pipelines need. OpenBao's repository is MPL-2.0 and Infisical's core is MIT, so the software itself carries no license fee for the core features, but Infisical's self-hosting documentation says enterprise features such as SSO or gateways require enterprise licensing. Infrastructure costs recur every month, while migration, integration and hardening work is one-time. Ask any quote to separate these lines and to state which features need a paid license, since Bitwarden's self-hosted Secrets Manager sits under its own licensing and is a different cost base.

Can our own platform team run OpenBao or Infisical without outside help?

Yes, many teams can, provided they already operate Kubernetes or Docker, a PostgreSQL or Raft backend, TLS certificates and an identity provider. OpenBao's documentation recommends AppRole for servers and Userpass for developer machines, and its high-availability design needs an active node, standby nodes and a supported storage backend, so the operators must understand unsealing, backups and failover. Infisical offers Docker Compose and an official Helm chart, which lowers the entry effort. The honest test is whether you have someone who can own the service on call after go-live. If not, a fixed-scope implementation plus a retainer is the usual alternative.

How long does a Secrets Manager migration take for our number of projects?

Duration depends mainly on how many projects, machine accounts and consuming pipelines or workloads you have, and on how many of them can be moved in one change window. Each secret needs an owner, a target path or project, a machine identity that authenticates through Kubernetes, AWS, OIDC or a similar method, and a cutover test. Teams usually move a small pilot project first and then migrate by application group. No duration is set here; a written scope should give the number of projects, consumers and environments, and the timeline that follows from them.

What do we need to provide before an implementation starts?

Before work starts, you need a complete inventory of Secrets Manager projects, machine accounts, secret counts per project and every pipeline or workload that reads them. Each project needs a named business owner who approves cutover, and the team needs agreed change windows for production pipelines. A test cluster or staging environment that mirrors your production identity provider and Kubernetes setup is essential, because authentication failures are the most common cutover problem. You should also confirm the storage backend, backup target and who holds unseal material before the design is finalized.

Does self-hosting Secrets Manager cost less than moving to OpenBao or Infisical?

It depends on whether you keep the Bitwarden Secrets Manager product or change platforms, and on the license terms that apply to your use. Bitwarden's server is AGPL 3.0 for the main code, but files in its bitwarden_license directory are under a source-available license that needs a paid subscription for production use, so the license cost may not disappear. Moving to OpenBao or Infisical removes that dependency but adds migration, integration and operating effort. Compare both options on the same five cost lines, including the time your team spends on upgrades, which Bitwarden publishes monthly. Ask a provider to model both paths in writing.

What should a written quote for this work include?

A written quote should list the scope in concrete terms: the platform chosen, the number of projects and machine identities, the authentication methods, the high-availability design, the backup and restore test, and the integrations with CI/CD and Kubernetes. It should name the deliverables, such as runbooks, architecture notes and a cutover plan, and state which items are one-time and which are retainers for upgrades and support. Ask whether any enterprise or license fees are included or excluded, who pays for them, what happens if scope changes, and how acceptance is tested. DeployOpen does not publish a price list, and a quote follows from the agreed written scope.

Which dynamic secrets and Kubernetes injection needs should decide between OpenBao and Infisical?

Choose OpenBao when you need broad dynamic secrets, leasing with automatic revocation, bulk revocation and encryption as a service, and when you want an MPL-2.0 project under open governance. Infisical is a better fit when Kubernetes secret delivery, the injection agent, secret syncs to platforms and a built-in private PKI matter most, since its operator reloads deployments after changes. Confirm both against your own workloads, because the supported Kubernetes auth methods, dynamic secret engines and SSO features differ by version and license tier. A short proof of concept with one real pipeline will answer most of the question.

How DeployOpen scopes and delivers a secrets manager migration

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so a move off Bitwarden Secrets Manager is handled as a scoped engagement. Each step, from inventory of projects and machine accounts to handover, is agreed in writing before work starts.

How we scope

  • Inventory every Secrets Manager project, machine account and pipeline that reads secrets today, with owners named for each.
  • Confirm whether the target is self-hosted Secrets Manager, OpenBao or Infisical, based on dynamic secrets and Kubernetes injection needs.
  • Agree deliverables, environments and timelines in a written fixed-scope document before any build work begins.

How we build

  • Deploy the chosen platform in your cloud account, data center or air-gapped network, with the storage backend and high availability design confirmed upfront.
  • Configure authentication for machine identities, such as AppRole or Kubernetes auth for OpenBao, or Kubernetes, OIDC or Universal Auth for Infisical.
  • Test access policies, secret injection paths and revocation behavior against the inventory before any production pipeline is switched over.

How we hand over

  • Document the architecture, access model, backup and restore steps and the upgrade process for the chosen release line.
  • Provide a cutover runbook that maps each old machine account to its new identity and lists rollback steps for every pipeline.
  • Walk your platform and security teams through the evidence needed for internal reviews, including access logs and configuration records.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Schedule retesting of access policies and secret paths after upgrades, configuration changes or new pipelines are added.
  • Confirm with your team which enterprise features, such as SSO or gateways, need a vendor license before the support scope is set.

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.