| 1 | // anyone holds read grants alone. A push grant would admit a reader who |
| 2 | // presents no credential to a boundary that acts on who pushed. |
| 3 | package identity |
| 4 | |
| 5 | boundaries: { |
| 6 | "registry": kind: "registry" |
| 7 | "push": kind: "git-push" |
| 8 | } |
| 9 | genesis: "root" |
| 10 | principals: "root": { |
| 11 | kind: "human" |
| 12 | keys: [{class: "ssh-ed25519", bound: "hardware", public: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExampleKeyForARejectedFixtureAAAAAAAAAAA"}] |
| 13 | grants: govern: boundary: "registry" |
| 14 | } |
| 15 | anyone: grants: push: boundary: "push" |