gunk-dev/the-valley

registry.cue

source0b6e3bf1f24fmain's published tip history
1.1 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 both signs and pushes, so its keys leave both artifacts at
4// once, the omission is said out loud, and everything else still compiles.
5// That is the enforcement dcr-b87f6e8 names — access ends at the first
6// convergence after expiry — and it needs no revocation step at all.
7package identity
8
9boundaries: {
10 "push": kind: "git-push"
11 "registry": kind: "registry"
12}
13
14genesis: "patrick"
15
16principals: {
17 "patrick": {
18 kind: "human"
19 keys: [{
20 class: "ssh-ed25519"
21 bound: "host"
22 public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGCxVUxXoyFYV40QureqqSMSA17CvK9IrFB33BA6UOip"
23 signs: "patrick"
24 }]
25 grants: {
26 push: boundary: "push"
27 govern: boundary: "registry"
28 }
29 }
30
31 "stoned-flynn": {
32 kind: "machine"
33 keys: [{
34 class: "ssh-ed25519"
35 bound: "host"
36 public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAvpmbUKEDVsejgv2vxWaY/t4xl0JNnjFswb9SxcG9GG"
37 signs: "stoned-flynn/attestations"
38 }]
39 grants: push: boundary: "push"
40 expires: "2026-10-01"
41 }
42}