← All churts

uBix Vault 1.8: A Console You Can Run a Vault From

uBix Vault 1.8: A Console You Can Run a Vault From

A page of panels isn’t a console

Up to 1.7, the uBix Vault console was one long page: a seal panel, a sign-in panel, a key/value panel, a policies panel, a token panel, a PKI panel. Every panel was a row of inputs and a box underneath for the answer. It did its job. I could initialize, unseal and read a secret without a terminal. But I’d never have handed it to someone and said “manage your team’s access here.”

So I compared it, honestly, with HashiCorp Vault’s UI. On security, uBix Vault’s console was already the stronger of the two: no third-party code, a strict Content Security Policy, a tiny surface. On everything you actually see, it was much thinner. No navigation, no dashboard, no way to manage users, no sense of what your token could do.

1.7 was about delegation you can trust. 1.8 is about the console: making it something you can do day-to-day work in.

If you haven’t met it: uBix Vault is a lightweight, open, Vault-API-compatible secrets manager. One small Go binary, no plugin processes, and Vault’s request shapes, so the vault CLI and External Secrets Operator work unmodified.

The uBix Vault 1.8 dashboard: vault, cluster and sign-in panels above a table of secrets engines and auth methods with the token's capabilities on each

What changed

  • An application shell. A sidebar groups the work into Dashboard, Secrets (Key/value, PKI) and Access (Users & roles, Tokens, Policies). Every page has breadcrumbs and its own address, so /ui/#/kv/app/config survives a reload and can be shared. While the vault is sealed you only see Initialize and Unseal; while you’re signed out, only Sign in.
  • A dashboard. Seal state, version, uptime, HA and the active node, Raft peers, who you’re signed in as, and every secrets engine and auth method with what your token may do on it.
  • A key/value browser. Folder-by-folder navigation, values hidden until you reveal them, copy buttons, a JSON view, and version history as a table. Destroying a version makes you type destroy. Revealed values are dropped the moment you leave the page.
  • Users & roles for every auth method. userpass users, AppRole, Kubernetes, JWT/OIDC and certificate roles, and LDAP groups: list, create, edit, delete. Passwords are never shown, and saving an edit without a password keeps the old one. AppRole hands you a secret ID once.
  • Sign-in offers only what’s set up. The method picker reads a new unauthenticated endpoint, sys/internal/ui/mounts (Vault’s UI uses the same one), and hides itself when token is the only option.
  • Light and dark themes that follow your system, with a switch.

The part I care about most: buttons that follow your permissions

Here’s the same secret, first as root, then as a user whose policy only allows reading it:

The secret app/config viewed as root, with Create secret, New version and Delete buttons

The same secret viewed by a read-only user: values still masked, and no Create secret, New version or Delete buttons

The console asks the vault, once per page, what the signed-in token may do on the paths it’s showing (sys/capabilities-self, the endpoint 1.7 added). Create, Edit, Delete, New version, Undelete and Destroy appear only where the answer allows it. A read-only user gets a read-only console instead of a wall of buttons that all end in 403.

To be clear about what that is: hiding a button is a courtesy, not a control. The server still checks every request against the token’s policies, exactly as before. The console just stops offering things it already knows will be refused.

Why there’s still no framework

The obvious way to build this is React plus a component library. I didn’t, on purpose. The console is still plain HTML, CSS and JavaScript, embedded in the binary, with no build step and no dependencies. It runs under a Content Security Policy that starts at default-src 'none' and only allows the vault’s own origin.

That’s not nostalgia. It’s the security model. A secrets manager’s UI is exactly the place you don’t want a few hundred transitive npm packages, and “no third-party code” is something you can verify by reading three files. Every new page has to fit inside that constraint, and so far, everything has.

Unsealing through your KMS, from Helm

One more thing shipped alongside the console. The Helm chart can now use the external-command seal. The vault runs a command you supply to wrap and unwrap its master key, so the key that unlocks the vault can live in a cloud KMS or an HSM outside the cluster, instead of in a Kubernetes Secret sitting next to the data it protects.

The server has supported this for a while. The chart just couldn’t switch it on. It’s off by default, and the chart refuses to render if you enable more than one unseal mode.

Before you upgrade

  • One new unauthenticated endpoint. GET /v1/sys/internal/ui/mounts tells a caller whether userpass has any users and whether LDAP is configured. Nothing else: no names, no counts, no machine auth methods. If that’s too much for you, block the path at your ingress and the console falls back to token sign-in.
  • No storage migration, no config change. Swap the binary or image (chart 0.1.25, appVersion 1.8.0).

Where it stops

  • It’s not finished. Identity entities and groups, Tokens and PKI in the new style, and a policy editor with validation are next. Transit, database, leases and Raft operations after that.
  • There’s no independent security audit. That’s still the open milestone, so weigh it against what your secrets are worth.
  • Raft storage is still experimental. The MySQL-backed HA path is the stable one.

The repo is github.com/ubixsys/ubixvault, BSD 3-Clause, with the Helm chart in deploy/charts/ubixvault. The full list is in the v1.8.0 changelog. If you find a page where the console shows you a button your token can’t use, or hides one it can, I want to hear about it.

← All churts