Commit Graph
49 Commits
Author SHA1 Message Date
mattandClaude Sonnet 5.5 156d9ddf78 Tests: don't search the database config for a password that equals the username
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 21:59:40 +00:00
mattandClaude Sonnet 5.5 4ce806e2d1 Release v0.2.0
CI / check (push) Successful in 53s
Release / check (push) Successful in 35s
Release / integration (push) Failing after 18s
Release / image (push) Skipped
Release / trigger-deploy (push) Skipped
CI / integration (push) Failing after 1m53s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
v0.2.0
2026-11-09 14:48:25 +00:00
mattandClaude Sonnet 5.5 d488bb42cc UI: signed-out menu and landing, form checkbox layout, Secrets header
The menu shows only Connect while signed out and the section links
once signed in; / goes to Connect or Identities accordingly. Yes/no
settings in the engine forms put the box beside its text. The Secrets
page now has New secrets engine on its own line, then a labelled engine
picker with Settings and Delete beside it, then the breadcrumbs, and
dynamic engines use the full width.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:47:31 +00:00
mattandClaude Sonnet 5.5 58b6230f9b Docs: admin policy and tests for managing secrets engine mounts
Adds sys/mounts/* and secret/config to the least-privilege policy and
runs create, tune and delete under only that policy. Mounting, tuning
and deleting need no sudo; KV settings are only covered on secret/, so
settings on another KV mount fail after the mount is created, which
the README and the UI's partial-create message now explain. Integration
tests also confirm that deleting a mount revokes the leases it issued
and that a blank TTL resets to the system default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:27:31 +00:00
mattandClaude Sonnet 5.5 1b3f6e4de5 Secrets: delete a secrets engine with a typed confirmation
The delete panel counts what will be lost (KV entries, or roles and
leases for dynamic engines), lists the policies that still grant access
under the mount, and keeps Delete disabled until the mount path is
typed. Anything it can't count is said so rather than hidden. Switching
mounts closes the panel, and the deleted mount's cached data is dropped.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:25:21 +00:00
mattandClaude Sonnet 5.5 13a5353868 Secrets: create and change secrets engine mounts from the UI
New secrets engine (KV v2, database, aws, ssh) and per-mount Settings
dialogs on the Secrets page, including KV v2 settings. Settings
prefill from the explicit lease TTLs on the mount rather than the
effective ones, and the KV configuration is re-read on every open so a
stale copy is never written back. A server with no mounts can still
create its first one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:23:43 +00:00
mattandClaude Sonnet 5.5 66aa86028a Mounts: API, path validation and mountable engine types
Adds create/tune/delete for secrets engine mounts, the KV v2 settings
that live on the mount, and an impact summary for deletes. Mount lists
now carry description and explicit lease TTLs: sys/mounts/<path>/tune
reports the effective value, which would pin the system default if it
were saved back, so edits prefill from the list instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:21:22 +00:00
mattandClaude Sonnet 5.5 fd20caa525 Config: show each database connection's URL and allowed roles
The connections table reads each connection and lists its URL and
allowed roles. Literal passwords in a URL are masked; templated
{{password}} URLs are shown as-is.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:09:42 +00:00
mattandClaude Sonnet 5.5 44e4eb75c9 Graph: highlight a selected node's links; nav: Connect only when signed out
Selecting a node highlights every edge into and out of it, with their
labels and the boxes at the far ends, and dims the rest. The Connect
menu item is shown only while signed out; when signed in, the name in
the menu links to the connection page so Disconnect stays reachable.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:09:42 +00:00
mattandClaude Sonnet 5.5 11c9483a88 Demo and CI: Postgres and SSH server for the dynamic engines
docker compose now runs a Postgres with sample tables and an SSH server
that trusts the CA in OpenBao's ssh/ engine. seed.sh configures the
database engine (dynamic and static roles), the ssh CA and a role, a few
live leases, and grants for alice and the platform group. CI gains a
Postgres service so the database engine and its admin-policy rules are
tested against a real database (skipped when BAO_PG_URL is unset).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:58:59 +00:00
mattandClaude Sonnet 5.5 0eff098140 Docs: admin policy and README for dynamic engines
Adds database, aws, ssh and lease rules to the least-privilege policy,
with the ssh flows (config, roles, sign, OTP, lease list/lookup/revoke
and revoke-by-prefix) run under only that policy in the integration
tests. That showed listing leases and revoking by prefix need sudo.
README documents the new screens, enabling the engines, the AWS plugin
caveat and the credential handling.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:53:37 +00:00
mattandClaude Sonnet 5.5 85a318c351 Access: grant and inspect access to dynamic engine roles
dynamicGrantRules expands a grant on a role into the credential paths
its requests need (generate) and the role CRUD paths (manage); unticked
access comes back empty so writing it revokes. Roles get an Access panel
showing who can generate credentials or manage them, and the identity
Access editor can pick dynamic mounts and roles. Checked against
capabilities-self and a real token in the integration tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:51:28 +00:00
mattandClaude Sonnet 5.5 48ee757e8d Secrets: browse, renew and revoke leases for dynamic engines
Adds a Leases tab that walks sys/leases/lookup under the mount, shows a
lease's timings on demand, renews renewable leases, and revokes one
lease or everything under a prefix after confirmation. Covered by unit
tests and an ssh OTP integration test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:45:14 +00:00
mattandClaude Sonnet 5.5 48746e2150 Secrets: engine config editors and one-time credential generation
Adds Config tab (database connections with rotate/reset, aws root and
lease, ssh CA with generate/import) and a Generate action on roles
(database/static creds, aws creds, ssh sign and OTP). Secret inputs are
write-only: never prefilled and omitted when blank so the stored value
is kept. Issued credentials live only in a gcTime-0 mutation and are
shown once, with revoke-now for leased credentials.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:30:08 +00:00
mattandClaude Sonnet 5.5 4fa7ff1497 Secrets: manage roles for database, aws, ssh and generic engines
Registry gains per-engine role kinds with field schemas (database
dynamic and static roles, aws, ssh); unknown engines get a raw JSON
role editor. RolesPanel lists, creates, edits and deletes roles, and
edits write back fields the form does not know about so they are not
dropped. Covered by unit tests and an ssh integration test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:24:50 +00:00
mattandClaude Sonnet 5.5 6daed8d388 Secrets: list all mounts and group dynamic engines by type
Adds listMounts and an engine registry (database, aws, ssh, generic
fallback). The Secrets page groups mounts by engine; KV v2 keeps the
path browser and dynamic mounts get a placeholder EngineView.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:20:40 +00:00
mattandClaude Sonnet 5.5 eba7c97de6 Release: dispatch the deploy after the image is pushed
CI / integration (push) Successful in 13s
CI / check (push) Successful in 17s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 13:13:00 +00:00
matt b1516f1eb0 Release v0.1.3
Release / integration (push) Successful in 20s
CI / integration (push) Successful in 21s
CI / check (push) Successful in 24s
Release / check (push) Successful in 2m12s
Release / image (push) Successful in 16s
v0.1.3
2026-11-02 13:02:28 +00:00
mattandClaude Sonnet 5.5 a4dc871511 Release: push to the envbao ProGet Docker feed (ENB-26)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 13:02:27 +00:00
matt 1e65407227 Release v0.1.2
CI / integration (push) Successful in 17s
CI / check (push) Successful in 25s
Release / integration (push) Successful in 12s
Release / check (push) Successful in 16s
Release / image (push) Failing after 1m8s
v0.1.2
2026-11-02 11:51:55 +00:00
mattandClaude Sonnet 5.5 51e2ad3d56 CI: drop fixed host port for OpenBao service, skip tag pushes in ci.yml (ENB-26)
CI / integration (push) Successful in 12s
CI / check (push) Successful in 17s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 11:51:22 +00:00
matt b1f038925e Release v0.1.1
Release / integration (push) Failing after 4s
Release / check (push) Successful in 28s
Release / image (push) Skipped
CI / check (push) Successful in 29s
CI / integration (push) Failing after 4s
v0.1.1
2026-11-02 11:50:23 +00:00
mattandClaude Sonnet 5.5 6bc94f30ec Release: log in to pkgs with PKGS_USER/PKGS_PASSWORD secrets (ENB-26)
CI / integration (push) Successful in 13s
CI / check (push) Successful in 18s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 11:48:16 +00:00
mattandClaude Sonnet 5.5 cbb64d92ca Release: push image to pkgs.daubney.dev (ENB-26)
CI / integration (push) Successful in 13s
CI / check (push) Successful in 18s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 11:44:15 +00:00
mattandClaude Sonnet 5.5 0c4686708a Release workflow: build and push container image on tags (ENB-26)
CI / integration (push) Successful in 15s
CI / check (push) Successful in 20s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 11:43:25 +00:00
matt a8216e7dcb Release v0.1.0
CI / check (push) Successful in 26s
CI / integration (push) Failing after 8s
v0.1.0
2026-11-02 11:40:37 +00:00
mattandClaude Sonnet 5.5 7368c64789 Add Renovate and npm audit to CI, update dependencies (ENB-24)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 11:40:37 +00:00
mattandClaude Sonnet 5.5 791cf9603a Secrets: grant access from the secret's detail card (ENB-20)
CI / integration (push) Failing after 12s
CI / check (push) Successful in 16s
Adds a Grant access button to the selected secret. An inline form picks an
identity (user, entity or group), whether to grant just this secret or its
whole folder, and capabilities; the access table refreshes afterwards.

- Extract CapabilityPicker and useRefreshAccess from the Access editor so both
  grant forms share them.
- Stop Enter on the identity and engine dropdowns from submitting the form,
  which could grant access by accident.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 13:48:07 +01:00
mattandClaude Sonnet 5.5 61bb6d912a Phone-width layout fixes (ENB-23)
CI / integration (push) Successful in 12s
CI / check (push) Successful in 16s
Checked at 390px and 360px in a headless mobile Chrome; no horizontal overflow
on any page.

- Tables become stacked cards on phones, with column names from data-label and
  row actions underneath instead of off the edge.
- Nav fits on one line; chips no longer wrap mid-name; less nested padding.
- Graph opens at a fixed readable zoom on phones with a pan/zoom hint, and
  scrolls to the details card when a node or label is tapped.
- Add the missing headings and wide layout to the user, entity and group forms
  (previously only the token form had them).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 13:34:21 +01:00
mattandClaude Sonnet 5.5 0882d35123 Graph: place capability labels beside the target node (ENB-22)
CI / integration (push) Successful in 14s
CI / check (push) Successful in 18s
Edge labels sat at each curve's midpoint, where edges leaving one policy bunch
up and overlap. Policy->path edges now use a custom edge that puts a clickable
label just before the target, stacked apart when several edges share a target,
and the path column is moved right to leave room for longer labels.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:59:59 +01:00
mattandClaude Sonnet 5.5 b55259c492 Default new tokens to the default policy only (ENB-21)
CI / check (push) Successful in 16s
CI / integration (push) Successful in 13s
OpenBao copies the creator's policies when none are sent, so a token created
with nothing ticked while signed in as root was itself root. The New token form
now starts with `default` ticked, and createToken sends ['default'] for an
empty selection.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:52:13 +01:00
mattandClaude Sonnet 5.5 0a2054eb41 Polish pass: identity forms, confirm dialogs, policy chips, merged grants, narrow screens
CI / integration (push) Successful in 12s
CI / check (push) Successful in 15s
- Tokens: bigger show-once token with primary Copy; warn when no policies are
  selected (OpenBao then inherits the creator's policies).
- Identity forms get headings, wider cards and two-column policy lists.
- Replace window.confirm with an in-app confirm dialog (falls back to
  window.confirm without a provider).
- Show policies, aliases and members as chips in the identity tables.
- Access panel: one row per secret instead of separate data/metadata rules.
- Stack graph details below 60rem; phone-width rules for tables, nav, toolbar.
- New favicon and page title; label the root "*" path as "everything".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:48:13 +01:00
mattandClaude Sonnet 5.5 d67a9c9b62 Rework Graph page: node cards, key, toolbar bar and details card
CI / integration (push) Successful in 12s
CI / check (push) Successful in 15s
- Custom graph nodes with identity kind tags and per-column colours; wider
  text, styled edge labels, "full access" for everything grants.
- Filters, refresh and the key share one bar above the canvas.
- Details card restructured into sections with capability chips, a collapsible
  policy HCL and a red Revoke button; shared CapabilityChips component.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:16:02 +01:00
mattandClaude Sonnet 5.5 68e564eb6c Rework Secrets page into browser and detail panes
- Two panes: folder browser on the left, access detail card on the right, so
  selecting a secret no longer shifts the page. Stacks on narrow screens.
- Mount is the first crumb; the mount dropdown only shows with several engines.
- Drop emoji for chevrons; capability chips, red for delete/sudo; identity type
  tags; root token collapsed to "full access".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:10:58 +01:00
mattandClaude Sonnet 5.5 fbe9cc9262 Design sweep: tokens and base styles, connection summary, secret picker, access panel layout, sample data
- Add a token-based design system (light/dark colours, type and spacing scales)
  and style buttons, forms, tables, tabs and the app shell.
- Show a server and session summary (version, status, cluster, server time,
  token expiry) instead of the connect form while connected.
- Replace the free-text secret path in the Access panel with a browsable picker
  and an "everything inside" tickbox; typing a path is still available.
- Re-lay out the Access panel: header bar, current access beside the grant form.
- Seed the docker-compose stack with sample secrets, users, entities, a group,
  policies and a token via docker/seed.sh (safe to re-run).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 12:07:39 +01:00
mattandClaude Sonnet 5.5 a63f7c0faa Hardening: session expiry and sealed handling, request timeout, list states, a11y, tested admin policy, security headers, README
CI / integration (push) Successful in 12s
CI / check (push) Successful in 15s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:42:01 +01:00
mattandClaude Sonnet 5.5 265c618884 Add Access Graph view with filters, details panel and revoke
CI / check (push) Successful in 15s
CI / integration (push) Successful in 12s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:34:11 +01:00
mattandClaude Sonnet 5.5 5180e1bb74 Add grant/revoke flow with managed per-identity policies
CI / integration (push) Successful in 12s
CI / check (push) Successful in 15s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:30:35 +01:00
mattandClaude Sonnet 5.5 cd1438987b Add KV v2 secret browser with per-secret Access panel
CI / check (push) Successful in 13s
CI / integration (push) Successful in 11s
Model follows OpenBao's most-specific-path rule rather than unioning matches,
verified against sys/capabilities-self in integration tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:26:33 +01:00
mattandClaude Sonnet 5.5 f2ba697093 Add token management: create, list, revoke with show-once secret
CI / check (push) Successful in 13s
CI / integration (push) Successful in 10s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:21:24 +01:00
mattandClaude Sonnet 5.5 0e1e8988bd README: document CORS origins, including OpenBao's own UI
CI / check (push) Successful in 13s
CI / integration (push) Successful in 10s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:20:17 +01:00
mattandClaude Sonnet 5.5 fb5fb3ae08 Allow OpenBao's own UI origin in the compose CORS setup
CI / integration (push) Successful in 10s
CI / check (push) Successful in 13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:19:20 +01:00
mattandClaude Sonnet 5.5 4706014dc2 Add identity management: userpass users, entities with aliases, groups
CI / integration (push) Successful in 10s
CI / check (push) Successful in 13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:15:38 +01:00
mattandClaude Sonnet 5.5 a13d2cb04a Add Dockerfile, nginx config and docker-compose demo
CI / integration (push) Successful in 10s
CI / check (push) Successful in 12s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:12:20 +01:00
mattandClaude Sonnet 5.5 cc81f88a04 Add HCL policy parser and access-graph model; fix build types
CI / check (push) Successful in 13s
CI / integration (push) Successful in 10s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:09:31 +01:00
mattandClaude Sonnet 5.5 ac4307ebc8 Add OpenBao client integration tests
CI / integration (push) Successful in 10s
CI / check (push) Failing after 12s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:08:03 +01:00
mattandClaude Sonnet 5.5 de36c97f36 Add OpenBao API client, session context and connect screen
CI / check (push) Successful in 13s
CI / integration (push) Successful in 9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:05:59 +01:00
mattandClaude Sonnet 5.5 c5dbb78d1b Add tooling (Vitest, Router, Query, React Flow), app shell and Gitea CI
CI / check (push) Successful in 16s
CI / integration (push) Successful in 18s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:03:41 +01:00
mattandClaude Sonnet 5.5 c24537a7fb Initial commit: Vite template, BSD-3 licence, README, plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 11:02:50 +01:00