Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a0290b-3241-74c3-b868-6049545af836
2.8 KiB
OpenBao platform-admin login
Worker checklist
Use this lane only for an attended OpenBao control-plane operation whose
reviewed procedure requires platform-admin, such as configuring a database
secrets-engine connection, policies, auth roles, or token roles. It is not a
workload KV-read lane and it does not provision a secret value.
-
Plan the exact administration need before drafting any operator step:
warden plan "attended OpenBao platform administration for <reviewed operation>" --jsonThe result must select
openbao-platform-admin-login, returnfounder_required, and name oneoidc_loginact. If it selectsopenbao-api-key, a workload role, paste-once provisioning, or root, stop and report a routing defect. -
The operator performs the identity act and the separately reviewed owner command through one contained envelope:
warden access openbao-platform-admin-login --exec -- <reviewed-owner-command>Warden refuses a login-only
--fetch. Before OIDC it proves the caller's default home is usable, creates a caller-owned0700isolated home and a0600token helper, and then runsbao login -no-printwith both stdout and stderr captured. The reviewed command runs in the same contained home with both streams captured; it must persist any permitted metadata evidence itself and remain silent. Warden self-revokes the session and removes the helper on every success or failure path.Safety does not rely on
-no-print. Any client or child output, helper persistence defect, non-zero exit, or revocation/cleanup defect fails closed. Captured bytes are never returned, logged, excerpted, hashed, or fingerprinted. Do not paste a token into chat, State Hub, a shell argument, or a handoff file. Root is offline break-glass authority, not a fallback for failure. -
Verify authority using metadata or capabilities only, never by reading a secret value. Then run only the separately reviewed owner procedure. For the database engine this procedure lives in
rapp-postgres; the login does not itself approve configuration changes. -
Confirm the contained command exits successfully. Warden performs and checks
bao token revoke -selfinside the contained environment before cleanup; do not retain or reuse the helper.
If browser login fails before authentication, confirm the netkingdom auth
mount, platform-admin role, and allowed callback with railiance-platform and
key-cape. Do not retry with a workload-specific OIDC role: it is intentionally
incapable of OpenBao control-plane administration.
Authority
- OpenBao policy and role owner:
railiance-platform/docs/openbao.md - Human identity and MFA provider: key-cape / Keycloak
- Database-engine procedure owner:
rapp-postgres - Routing decision and founder-act surface: WARDEN-WP-0029