openbao: seal with the forge host WIF credential; viewer on the seal key #65

Merged
founder merged 1 commit from openbao/seal-wif-credential into main 2026-08-16 11:57:10 +00:00
Owner

Phase 2 step 2: openbao.service seals with the forge host's WIF credential (GOOGLE_APPLICATION_CREDENTIALS=/run/google-wif/credentials.json, google-wif group, ordered after the refresher) and the seal key gets roles/cloudkms.viewer for the same principal (the wrapper calls cryptoKeys.get at startup; verified 403 without it). Sequence: identity apply, then forge switch, then bao operator init.

Phase 2 step 2: openbao.service seals with the forge host's WIF credential (GOOGLE_APPLICATION_CREDENTIALS=/run/google-wif/credentials.json, google-wif group, ordered after the refresher) and the seal key gets roles/cloudkms.viewer for the same principal (the wrapper calls cryptoKeys.get at startup; verified 403 without it). Sequence: identity apply, then forge switch, then bao operator init.
openbao: seal with the forge host's WIF credential; viewer on the seal key
Some checks failed
Infra: Cloud OpenTofu / Infra (Cloud OpenTofu) (push) Successful in 38s
Deploy: Web / Deploy (Web) (push) Successful in 2m9s
Deploy: API / Deploy (API) (push) Successful in 2m53s
Release: If Needed / Check (Release Needed) (push) Has been cancelled
36cfc8bd05
Phase 2 step 2 (KSE-0182 A.2). With storage access fixed, openbao.service
now fails at the seal: "could not find default credentials". Point the unit
at /run/google-wif/credentials.json (external_account from
google-wif-credentials.service; no key file), join the google-wif group for
the 0640 subject token, and order after the refresher.

The gcpckms wrapper fetches the key at startup (cloudkms.cryptoKeys.get),
which cryptoKeyEncrypterDecrypter does not grant (verified: 403 with the
host's federated token); add roles/cloudkms.viewer on the seal key for the
same forge-host principal, still key-scoped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
founder deleted branch openbao/seal-wif-credential 2026-08-16 11:57:10 +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!65
No description provided.