| 1 | // A registry with a machine entry past its expiry, for the case the worked |
| 2 | // example cannot show: what a compilation does when an entry has aged out. |
| 3 | // The machine signs, pushes and files requests, so its keys leave every |
| 4 | // artifact at once, its grant leaves with them, the omission is said out |
| 5 | // loud, and everything else still compiles. |
| 6 | // That is the enforcement dcr-b87f6e8 names — access ends at the first |
| 7 | // convergence after expiry — and it needs no revocation step at all. |
| 8 | package identity |
| 9 | |
| 10 | boundaries: { |
| 11 | "push": kind: "git-push" |
| 12 | "request": kind: "request" |
| 13 | "registry": kind: "registry" |
| 14 | } |
| 15 | |
| 16 | genesis: "operator" |
| 17 | |
| 18 | principals: { |
| 19 | "operator": { |
| 20 | kind: "human" |
| 21 | keys: [{ |
| 22 | class: "ssh-ed25519" |
| 23 | bound: "host" |
| 24 | public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMsWYyDSCNBwb6MnvQ7sfu++kZold+0HuP5leY4IiKnV" |
| 25 | signs: "operator" |
| 26 | }] |
| 27 | grants: { |
| 28 | push: boundary: "push" |
| 29 | govern: boundary: "registry" |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | "agent-vm": { |
| 34 | kind: "machine" |
| 35 | keys: [{ |
| 36 | class: "ssh-ed25519" |
| 37 | bound: "host" |
| 38 | public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO0AEJMcSrXCOYKlyVrdVWG07RF2SIM/8gaI/8oDEMRI" |
| 39 | signs: "agent-vm/attestations" |
| 40 | }] |
| 41 | grants: { |
| 42 | push: boundary: "push" |
| 43 | request: boundary: "request" |
| 44 | } |
| 45 | expires: "2026-10-01" |
| 46 | } |
| 47 | } |