gunk-dev/the-valley

registry.cue

source0d05e7f48050main's published tip history
1.2 KiB
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.
8package identity
9
10boundaries: {
11 "push": kind: "git-push"
12 "request": kind: "request"
13 "registry": kind: "registry"
14}
15
16genesis: "patrick"
17
18principals: {
19 "patrick": {
20 kind: "human"
21 keys: [{
22 class: "ssh-ed25519"
23 bound: "host"
24 public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGCxVUxXoyFYV40QureqqSMSA17CvK9IrFB33BA6UOip"
25 signs: "patrick"
26 }]
27 grants: {
28 push: boundary: "push"
29 govern: boundary: "registry"
30 }
31 }
32
33 "stoned-flynn": {
34 kind: "machine"
35 keys: [{
36 class: "ssh-ed25519"
37 bound: "host"
38 public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAvpmbUKEDVsejgv2vxWaY/t4xl0JNnjFswb9SxcG9GG"
39 signs: "stoned-flynn/attestations"
40 }]
41 grants: {
42 push: boundary: "push"
43 request: boundary: "request"
44 }
45 expires: "2026-10-01"
46 }
47}