hq: HQ host reads its secrets from OpenBao with age fallback (plan PR 7, F3) #120

Merged
founder merged 1 commit from openbao/hq-host into main 2026-08-17 00:55:00 +00:00
Owner

hq-host Authentik client + jwt backend/policy/role + openbao-secrets module on HQ, every entry openbao-with-age-fallback (all HQ age blocks/files kept). Real client pair minted and age-encrypted on the forge. Order: forge switch -> openbao apply -> founder hq-deploy.

hq-host Authentik client + jwt backend/policy/role + openbao-secrets module on HQ, every entry openbao-with-age-fallback (all HQ age blocks/files kept). Real client pair minted and age-encrypted on the forge. Order: forge switch -> openbao apply -> founder hq-deploy.
hq: HQ host reads its secrets from OpenBao with age fallback (plan PR 7, F3)
Some checks failed
build-release.yml / hq: HQ host reads its secrets from OpenBao with age fallback (plan PR 7, F3) (push) Failing after 0s
build-release.yml / hq: HQ host reads its secrets from OpenBao with age fallback (plan PR 7, F3) (pull_request) Failing after 0s
Release: If Needed / Check (Release Needed) (push) Successful in 7s
Infra: Cloud OpenTofu / Infra (Cloud OpenTofu) (push) Successful in 44s
Deploy: Web / Deploy (Web) (push) Successful in 2m21s
Deploy: API / Deploy (API) (push) Has been cancelled
d34c189061
HQ gets its own OpenBao identity, mirroring forge-host without Google:
an Authentik client-credentials provider/application `hq-host` (declared
in keystore-forge.nix's authentikOidcProviders like forge-host; client
id/secret in secrets/hq/oidc-client-{id,secret}.age, founder+founderLegacy
+forge, real values minted on the forge), a jwt backend
`authentik-hq-host` + policy key-store-hq-host (read on exactly HQ's ten
KV paths) + role hq-host in infra/openbao, and on HQ:
Scripts/hq-openbao-subject-token.sh (client-credentials token every 20 m,
keep-on-failure) plus the openbao-secrets module with all ten entries as
openbao-with-age-fallback — HQ reads OpenBao when the forge is up and its
age copy when it is not (forge down = Authentik down = no token). Every
HQ age block and file stays; every consumer goes through secretPath;
consumers ordered after the materializer; nothing Requires= it.

Verified: HQ toplevel evaluates; forge dry-activate green (provider spec,
runtime env, blueprint carry hq-host); KV probes present for the ten
paths; tofu fmt + validate; subject-token script behaviour tests.
Order after merge: forge switch (creates the provider) → openbao apply →
founder runs Scripts/hq-deploy.sh (opkssh).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
founder deleted branch openbao/hq-host 2026-08-17 00:55:00 +00:00
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/key.store!120
No description provided.