ci: deploy-web, deploy-api and cloud-tofu read secrets from OpenBao behind KEYSTORE_CI_SECRETS_SOURCE #88

Merged
founder merged 1 commit from openbao/ci-deploy-cloud-tofu into main 2026-08-16 15:17:08 +00:00
Owner

Migration plan PRs 12-13. Additive and gated: unset/age = unchanged; openbao = openbao-secrets action on the job token (roles deploy-web/deploy-api/cloud-tofu-*), age steps skipped. All KV paths probed present. Configure Age stays in cloud-tofu for the Authentik release-identity step until that identity moves to the job token.

Migration plan PRs 12-13. Additive and gated: unset/age = unchanged; openbao = openbao-secrets action on the job token (roles deploy-web/deploy-api/cloud-tofu-*), age steps skipped. All KV paths probed present. Configure Age stays in cloud-tofu for the Authentik release-identity step until that identity moves to the job token.
ci: deploy-web, deploy-api and cloud-tofu read secrets from OpenBao behind KEYSTORE_CI_SECRETS_SOURCE
Some checks failed
Release: If Needed / Check (Release Needed) (push) Successful in 5s
Infra: Cloud OpenTofu / Infra (Cloud OpenTofu) (push) Successful in 47s
Release: Signing Preflight / Release (Signing Preflight) (push) Successful in 1m1s
Deploy: Web / Deploy (Web) (push) Failing after 1m41s
Deploy: API / Deploy (API) (push) Successful in 3m10s
8ab5a76acc
Migration plan PRs 12-13 (first CI families on the openbao-secrets action).
With the Actions variable KEYSTORE_CI_SECRETS_SOURCE unset or "age" every
lane behaves exactly as before; with "openbao" the job token (jwt role
deploy-web / deploy-api / cloud-tofu-{plan,apply}, KSE-0166 audiences)
fetches the same values from OpenBao and the age steps are skipped.

deploy-web: CLOUDFLARE_API_TOKEN, FLY_API_TOKEN as env.
deploy-api: the same plus KEY_STORE_REDIS_PASSWORD; the device-CA pair,
  OHTTP IKM and edge-trust token as files (signing/ and age/); APNs/FCM
  material optional (?) exactly like the absent-.age semantics of the age
  variant. "Sync API Runtime Secrets (OpenBao)" emits the identical Fly
  secret list with identical PENDING/empty checks and masking.
cloud-tofu: per-stack spec (hetzner/object-storage dotenv for the Garage
  state backend on every stack; fly + planetscale for cloud-data; hcloud for
  hq-hcloud; forgejo founder token + mirror env file for forgejo; grafana
  admin password -> GRAFANA_URL/GRAFANA_AUTH), role/audience by mode. A
  misspelt source value is rejected instead of silently falling back.
  "Configure Age" still runs in both modes: release-signing-identity (the
  Authentik release identity step) decrypts its client files with
  AGE_IDENTITY_PATH until that identity moves to the job token.

Step gates use vars.KEYSTORE_CI_SECRETS_SOURCE (the pattern already used
for step conditions in this repo). All KV paths probed present as
forge-host before this landed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
founder deleted branch openbao/ci-deploy-cloud-tofu 2026-08-16 15:17:09 +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!88
No description provided.