ci: deploy-web, deploy-api and cloud-tofu read secrets from OpenBao behind KEYSTORE_CI_SECRETS_SOURCE #88
No reviewers
Labels
No labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
key-store/key.store!88
Loading…
Reference in a new issue
No description provided.
Delete branch "openbao/ci-deploy-cloud-tofu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 (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>