Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

HashiCorp changed Vault's license to the Business Source License in 2023 and the OpenBao fork appeared, while cloud providers offer their own secret managers. As the senior technical leader, how do you decide the company's secrets management strategy?

I would decide from requirements, not from the license news: which of dynamic credentials, encryption as a service, PKI, multi-cloud, audit, availability and regulatory needs we really have. Then compare Vault Enterprise or HCP Vault with support, self-run OpenBao, and the cloud providers' secret managers on cost, lock-in and operational load, assess the BSL terms with legal, and keep applications portable through standard abstractions so a backend change never touches application code. Whatever we pick is tier-0 infrastructure that needs disaster recovery, break-glass procedures, audit and a funded team.

Background to this question

In August 2023 HashiCorp moved Vault's new releases from the open-source MPL 2.0 license to the Business Source License, and a community fork, OpenBao, started from the last MPL code under the Linux Foundation. At the same time every cloud offers its own secret manager. Leaders get asked whether to stay, switch or fork, often in a hurry. This question tests whether we can turn that noise into a structured decision. In this answer, we will start from requirements, compare the options, look at licensing risk, keep applications portable, treat secrets management as tier-0, and set the triggers for revisiting the decision.

1Starting From Requirements

The worst way to decide is to react to a license headline. The best way is to write down what the company actually needs from secrets management. Do we use dynamic credentials, such as per-instance database users, or only static secrets? Do we rely on encryption as a service, like Vault's transit engine, or on PKI to issue internal certificates? Do we run in one cloud, several clouds, or on premises too? What audit evidence do regulators ask for, and what availability does the platform need, for example 99.95 percent with recovery in under one hour?

These answers often narrow the field quickly. A company on one cloud with only static secrets can use that cloud's secret manager and be done. A company with dynamic database credentials across three clouds and on-premises data centres needs something like Vault or OpenBao.

2Comparing the Options

There are three realistic families. Vault Enterprise, self-run, or HCP Vault, the managed service, gives us the full feature set, commercial support and a vendor roadmap, at a significant license cost and some vendor dependence; HashiCorp is now part of IBM, which some see as stability and others as risk. OpenBao, self-run, keeps the Vault API and most features with an open-source license, but we own operations and rely on a younger community for fixes and security responses. Cloud-native secret managers are cheap and fully managed, integrate with each cloud's identity, but are different per cloud and offer fewer features such as dynamic credentials or transit.

Secrets management options
OptionCostLock-inOperational load
Vault Enterprise / HCP VaultHigh license or service feesVendor, but standard Vault APIMedium self-run; low on HCP
OpenBao (self-run)No license; team costLow; open source, Vault-compatible APIHigh: we run and patch it
Cloud secret managersLow, pay per secret and callPer cloud; different APIsLow, fully managed
Mix: cloud managers + OpenBao for dynamicMediumLow with abstractionsMedium: two systems

Notice that no option wins on every row. That is why the requirements come first: they tell us which rows matter.

3Assessing the Licensing Risk

The BSL lets people use the software freely but restricts offering it in a way that competes with HashiCorp's commercial products, and each release converts to an open-source license after a few years. For a company that uses Vault internally to protect its own systems, that restriction usually does not apply. For a vendor that embeds Vault in a product it sells, or offers secrets management to customers, it may.

This is a legal question, so we take it to legal with the exact use cases, and we check the current license terms rather than relying on blog posts from 2023. The outcome is usually one of three: internal use is fine, a commercial agreement is needed, or a product line must move off it.

4Keeping Applications Portable

Whatever the backend, applications should not care. The strongest lever is to have applications read secrets through standard mechanisms. Spring applications read secrets as properties, from Spring Cloud Vault, Spring Cloud AWS or Spring Cloud Azure property sources, so switching backends is a configuration change. On Kubernetes, the External Secrets Operator syncs secrets from any supported store into Kubernetes secrets, so pods only read files or environment variables. And applications authenticate with standard methods, Kubernetes auth or cloud workload identity, never with tokens baked into images.

Step throughPortable secrets architecture
  1. Applicationsread properties or files; no backend SDK in domain code
  2. AbstractionSpring property sources, External Secrets Operator, CSI driver
  3. IdentityKubernetes auth, cloud workload identity
  4. BackendVault / OpenBao / cloud secret manager, replaceable

4 layers, from the top down. Step through them one at a time.

If the backend changes, only the abstraction layer's configuration changes.

5Treating It as Tier-0 Infrastructure

Secrets management is tier-0: if it is down long enough, nothing else can start, and if it is compromised, everything is. So the decision includes the operating model. We need disaster recovery with tested restores and a defined recovery point, replication across regions, and break-glass procedures, sealed emergency credentials held by named people, with every use audited and followed by rotation. We need audit logs shipped to an immutable store, and regular access reviews.

That requires a funded platform team, typically a few engineers with on-call, whatever product we choose. A common mistake is to compare license prices while assuming operations are free; self-running OpenBao may cost more in people than a managed service costs in fees.

6Making and Revisiting the Decision

I would write the decision as an architecture decision record with the requirements, the options scored against them, the legal opinion, the cost over three years including people, and the migration path for each option. Then I would agree in advance the triggers that reopen it, so the next headline does not restart the debate.

7Follow-up questions

What would trigger a migration off your current choice?

We agree the triggers in the decision record. Typical ones are a license or price change that legal or finance rejects, for example renewal costs above a set threshold; a security response that misses our standard, such as a critical vulnerability unpatched for 30 days; the product falling behind a requirement we committed to, like a new cloud region; or, for OpenBao, the community losing momentum, measured by releases and active maintainers. When a trigger fires, the platform team proposes a migration plan, and because applications read secrets through abstractions, the work is mostly in the platform, not in hundreds of services.

Would you run two systems at once?

Sometimes, deliberately: cloud secret managers for static secrets and one Vault-compatible system for dynamic credentials and transit. It costs a second system, but each piece does what it is best at.

How do you migrate secrets safely?

Copy secrets with a script, switch services in waves by configuration, rotate each secret after the move so the old store no longer holds valid values, and keep the old store read-only until the last service has moved.

8Conclusion

In this answer, we decided the secrets strategy from requirements such as dynamic credentials, encryption, PKI, multi-cloud, audit and availability, compared Vault Enterprise or HCP Vault, self-run OpenBao and cloud secret managers on cost, lock-in and operations, and took the BSL question to legal with real use cases. We kept applications portable through Spring property sources, the External Secrets Operator and standard identities, treated secrets management as tier-0 with disaster recovery, break-glass and a funded team, and recorded triggers for revisiting the decision.

What to say in the interviewAbout 90 seconds aloud

Open with

I would start from our requirements rather than the license news: do we need dynamic database credentials, encryption as a service, internal PKI, multi-cloud and on-premises coverage, what audit evidence regulators want, and what availability we need.

Then, if they want more

Then I would compare three families. Vault Enterprise or HCP Vault gives the full feature set and commercial support, at a high cost and with vendor dependence. Self-run OpenBao keeps the Vault API under an open-source license, but we carry operations and rely on a younger community.

Cloud secret managers are cheap and managed but differ per cloud and lack features like dynamic credentials. I would ask legal to assess the BSL against our actual use; for internal use it usually does not bite, but for a vendor embedding it in a product it might, and we check the current terms.

Whatever we choose, applications must stay portable: they read secrets as Spring properties or through the External Secrets Operator, and authenticate with Kubernetes or cloud workload identity, so changing the backend is a platform change, not hundreds of application changes.

And I would treat secrets as tier-0: replicated, tested disaster recovery, audited break-glass access, immutable audit logs and a funded team with on-call. I would record it in a decision record with three-year costs including people, and agree in advance the triggers that would make us migrate.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring Boot reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "HashiCorp changed Vault's license to the Business Source License in 2023 and the OpenBao...": https://scrivio-interview-library.netlify.app/spring-boot/spring-projects/df3182c599/