gunk-dev/the-valley

anyone-as-principal.cue

source68d12192bbd3main's published tip history
669 bytes
1// anyone is reserved for the reader with no credential. An entry under
2// principals by that name would give that reader keys and grants of every
3// kind.
4package identity
5
6boundaries: "registry": kind: "registry"
7genesis: "root"
8principals: {
9 "root": {
10 kind: "human"
11 keys: [{class: "ssh-ed25519", bound: "hardware", public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleKeyForARejectedFixtureAAAAAAAAAAA"}]
12 grants: govern: boundary: "registry"
13 }
14 "anyone": {
15 kind: "human"
16 keys: [{class: "ssh-ed25519", bound: "hardware", public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleKeyForARejectedFixtureAAAAAAAAAAA"}]
17 grants: govern: boundary: "registry"
18 }
19}