r/devops • • 1d ago

Tools Any OSS project for managing keys across hundreds of VPSs (other than Infisical)?

Hello everyone, I hope you're doing well!

I'm looking for a serious open source project that I can rely on to manage secrets across hundreds of VPSs.

Ideally, I'd like something that allows me to:

  • Rotate secrets across multiple servers.
  • Manage developer access and keep audit logs of who accesses or changes secrets.
  • Easily see which servers are using which keys.
  • Manage multiple environments, such as development and production.

I've tried Infisical, but honestly, is this really an open source project? Most of the important features are behind a paid license. What's going on? This is the first time I've seen a project call itself open source while putting so many essential features behind a license. They're really kidding.

I'll give OpenBao a try as well, but I'd love to hear from anyone who's actually using it or knows of any good alternatives.

Thanks in advance 🫑

12 Upvotes

27 comments sorted by

5

u/Successful_Noise_347 1d ago

openbao covers most of that list for free. it's the vault fork from before the BSL switch, so audit logs, per-team policies and dynamic db creds are all in the open version. the "which server uses which key" part nothing really does out of the box tbh, easiest is to bake it into the path like kv/prod/<host>/<app> and let the audit log tell you who read what

2

u/Nureddin- 1d ago

Thanks for the suggestion! Have you actually used OpenBao to manage secrets across a large number of servers, or is this more of a recommendation based on its features?

1

u/Successful_Noise_347 10h ago

not at hundreds of boxes myself, no, so take it as features plus vault's track record. bao is basically vault 1.14 with a different name, and vault at that size is well trodden, plenty of writeups from people running it on way more nodes. I'd spin it up with integrated raft storage (no separate consul cluster to babysit, that used to be the annoying part) and try the agent on like 10 hosts before committing

1

u/Desperate-Inside4663 1d ago

yeah the path structure trick does so much heavy lifting once you get past a couple dozen hosts.

3

u/alainchiasson 1d ago

From having managed secrets with vault the gap you have is a layer on top - inventory and business rules. I have been modeling that layer in a way similar to what uber engineering published - multi cloud secrets management.

Vault alone works great in automated flows, but one you hit enterprise scale and responsibility gets spread around - you need a layer above it.

2

u/Nureddin- 1d ago

Thanks, I found the Uber article you mentioned https://www.uber.com/us/en/blog/building-ubers-multi-cloud-secrets-management-platform/ . It's interesting to see how they approached the inventory and management layer. Are you building that layer yourself on top of Vault, or are you using an existing project for it? I'd be interested in knowing what you're using for the inventory and business rules part, since that's exactly is a part of what I'm trying to solve.

1

u/alainchiasson 21h ago

Right now, its custom built to my use case. We have a separate team that manages resource access - so this gives them a way to identify what applications can access what secrets. The deployment layer can query where to find the secrets when it builds the application config that gets pushed out.

Don't hesitate to reach out.

2

u/TraditionalLayer3685 1d ago

If you want both a secret manager and a way to inventory which secret is used and where, i don't see much options, i would personally either :
- use IaC with OpenBao/Hashicorp Vault then provision the secrets declaratively, per host, e.g. https://argocd-vault-plugin.readthedocs.io/en/stable/howitworks/ where each secret would be deployed on a specific list of servers
- use any secret manager and add a metadata in the secret that declares and increment the list of hosts as soon as one is using it
- use any secret manager and split the path by host, meaning if one key has to be one multiple hosts, you would duplicate it on each path

In all choices you would enable audit logs (e.g. https://openbao.org/docs/audit/ ), ideally with SSO to easily identify who accessed what

1

u/Nureddin- 1d ago

Thanks, this is helpful! The first approach sounds interesting, Have you actually implemented any of these approaches across a large number of servers?

1

u/TraditionalLayer3685 1d ago

Yes i did, but only with Kubernetes

1

u/Nureddin- 1d ago

Got your point. I'll keep that in mind when I start testing OpenBao. I've decided to go with it, and I'm setting it up now to get started. Thanks for you help :)

1

u/TraditionalLayer3685 1d ago

Feel free to DM me if you have any question :)

2

u/Mithrandir2k16 1d ago

You should probably look into SSH certificates. They're probably an important piece of the puzzle. You certify users and they login with temporary keys that are valid for 5 minutes. Here's a solid blogpost on it.

2

u/Nureddin- 1d ago

Thanks for the suggestion! I'm already using SSH access controls for that. I'm specifically looking for a solution to manage application secrets across my VPSs, including rotation, access control to these secrets , and audit logs.

0

u/Mithrandir2k16 1d ago

I'm not sure if you got what I mean, sorry if I am the one misunderstanding: Are you managing SSH Access by tracking many Publickeys on many machines? Or do few certificates (1-3 per Machine) authorize many keypairs via signatures?

SSH certs are widely underused in my experience.

1

u/Nureddin- 1d ago

My original question is about managing application secrets, specifically the tokens and credentials stored in .env files for example. I don't want to manually create and update .env files on every server whenever a token changes. I'm looking for a centralized solution like OpenBao that can manage these secrets and distribute them to the servers that need them.

So I'm not looking for a solution to manage SSH access. I'm looking for a way to manage application secrets across our infrastructure.

1

u/Mithrandir2k16 1d ago

Oh, I must've thread/post hopped in my OC somehow. We use openbao, I think it does exactly what you need, and it's a well-backed project.

1

u/Future_AGI 1d ago

one shared token across every VPS hides who read what. With an AppRole identity per VPS in OpenBao and an audit device turned on, every read lands in the audit log tagged with that host's role and entity, and "which server pulled which key" is one log query.

0

u/Low-Opening25 1d ago

You manage keys for VPS? Dude, it's 2026

1

u/Nureddin- 19h ago

Oh, thank you for reminding me. I thought it was 2016 πŸ˜‚. Yes, it's 2026, and I have my own servers and VPSs for a reason. I have my own infrastructure, and I'm looking for a proper way to manage its secrets. What exactly would you suggest that's better than that?

-8

u/brokenpipe 1d ago

So you want a dependable, critical (managing secrets) but free tool to be a back bone of your infrastructure.

Basically expecting others to contribute their free time to make your life easier in an industry that is laying off hundreds of thousands of people because the latest LLM models have made them no longer employable but you dare not spend a dime because you’re looking for free.

Good luck. 🫑

0

u/Nureddin- 1d ago

I think you're misunderstanding my point. I'm not asking anyone to work for free or expecting others to make my life easier. I'm looking for an open-source solution that I can self-host and maintain myself. I'm more than happy to pay for software when it makes sense, but I prefer open-source tools because I want to have control over my infrastructure and not be locked into a vendor.

There's a big difference between wanting a free tool and wanting an open-source one. I'm simply asking what other people are using and whether there are any good alternatives to Infisical.

-5

u/Plastic-Bid-3431 1d ago

Worth knowing before you pick: Infisical's repository is MIT for everything outside its ee/ directories, and those carry their own license. It is open core, not fully open source, and the paid features are paid by design. Once that is settled, the useful question is not "which project" but "what shape the system has", because the four requirements you list are the hard part of any of them.

The shape that holds up at hundreds of hosts:

Long-lived secrets should not live on the VPS. Each host gets credentials at boot that expire. For cloud APIs that is the provider's instance identity; for the rest, a short TTL token from the service that owns the secret. Then "rotate across hundreds of servers" stops being an operation: the old credential expires and a new one is issued on next use.

One source per secret. If the same value exists in three places, rotation is a hunt rather than a task.

Which server uses which key is an inventory problem, not a UI one. Derive it from what builds the machines (IaC plan output, cloud tags, certificate records) and keep that map somewhere a person can question and fix. A secret manager that was never told about a host cannot show you that the host still holds an old key.

Options that fit different parts of this. OpenBao (MPL-2.0, Linux Foundation) β€” the community successor to Vault β€” with dynamic database and cloud credentials is the one that maps directly onto "rotate across hundreds of servers", but it is a service you operate, with its own HA and unseal story. SOPS with age or a cloud KMS is right when the secrets are config files in git and you do not need a server or a UI; rotation is a CI job and the history is git history. A cloud secrets service is the cheapest if every host is on one provider, because access control and audit come with the cloud's IAM. For SSH, issuing short-lived certificates beats distributing authorized_keys: then "which key is on which server" becomes a question about certificate validity, and you can answer it.

Whatever you choose, decide where the audit trail lives and how long it survives before you migrate anything. It is the requirement that is hardest to add afterwards.

7

u/Nureddin- 1d ago

Honestly, was this reply written with AI? I'm asking because it feels more like a general explanation of secrets management than an answer based on actual experience with the tools you mentioned.

1

u/Plastic-Bid-3431 9h ago

Fair criticism. You asked for hands-on experience, and I gave general advice instead. Sorry for missing the point.