vault: per-host AppRoles for node identity #57

Merged
ginjiruu merged 1 commit from feat/host-approles into master 2026-11-11 19:48:28 +00:00
Owner

Refs lab/machine-configs#3. New mount approle-hosts (separate from the hand-made bootstrap approle mount, ADR 0003). One role per comin host (think-01..03, pi-01..04): role_id = hostname, secret_id_bound_cidrs + token_bound_cidrs = host /32, SecretID ttl 0 (kept on host, revoked centrally). host- policies (read infra/data/hosts//* only for now). host-enroller policy: mint SecretIDs for host roles only, response-wrapped 1m-24h. Host side: machine-configs modules/openbao-agent.nix, VM-tested. Plan: 1 mount + 7 policies + 7 roles + 1 policy = 16 to add.

Refs lab/machine-configs#3. New mount approle-hosts (separate from the hand-made bootstrap approle mount, ADR 0003). One role per comin host (think-01..03, pi-01..04): role_id = hostname, secret_id_bound_cidrs + token_bound_cidrs = host /32, SecretID ttl 0 (kept on host, revoked centrally). host-<name> policies (read infra/data/hosts/<name>/* only for now). host-enroller policy: mint SecretIDs for host roles only, response-wrapped 1m-24h. Host side: machine-configs modules/openbao-agent.nix, VM-tested. Plan: 1 mount + 7 policies + 7 roles + 1 policy = 16 to add.
ginjiruu merged commit 5054b8133f into master 2026-11-11 19:48:28 +00:00
ginjiruu deleted branch feat/host-approles 2026-11-11 19:48:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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
lab/iac!57
No description provided.