Open suprjinx opened 1 month ago
Need some info: how production-grade should the standalone / managed Vault be?
With production-grade Vault, we'd still want to deploy opensource which may lack some features. Can we achieve HA, etc, with opensource edition (or OpenBao)?
@suprjinx and I discussed this one last week. We think it can be left for after the initial release.
@suprjinx wrote:
Can we achieve HA, etc, with opensource edition (or OpenBao)?
OpenBao has HA but not yet horizontal scaling. It is on our roadmap though:
- Allow HA standby nodes to service read-only (from a storage modification PoV) requests. (scalability)
- Currently HA mode standby nodes forward all requests up to the active node, preventing horizontal scalability of OpenBao. Due to limitations in Raft (only the active node can perform storage writes), we can't immediately scale writes. Thus, start by bringing these nodes "online" (loading the mount table, plugins, &c) and allowing them to service read-only requests, returning ErrReadOnly on storage write operations to trigger automatic request forwarding.
- @cipherboy is happy to collaborate or author the RFC design document for this if someone wants to tackle it.
If we want to package Astral with an Astral-managed Vault instance, we probably need to ensure a production-grade vault install. Perhaps adapt the official Helm chart?
There are a a lot of complexities to the production Vault install -- unsealing tokens with quorum, mTLS certs from some other source, etc.