-
Notifications
You must be signed in to change notification settings - Fork 0
/
.sops.yaml
28 lines (26 loc) · 930 Bytes
/
.sops.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
keys:
# user keys
- &kyle 3C799D26057B64E6D907B0ACDB0E3C33491F91C9 # yubikey
# machine keys
- &alpha age1k0jtatca72hz5ayecaa20pzqn6g6rf0c2ph3m0qzkq0cq05dfflsay2jpl
- &dino age19kztqvck8297mm0v74epu6fq5eny7h84rx2evfvd7cm9uc5unuqqn4lw62
- &tiger age1mcse3suy7qxr7pxn262zw67lrz2wyl8pr6hgqs5x0fk5p0w7qa4s9lnctc
- &pi1 age1ewrzv34aedhlkf9n657vwz5yfprqhxkvfht8k9js0u59mzwkmvaq8z23f2
- &pi2 age17fed4a4jfwdqcwwd0s56f2js289m6xxswxr6pputgkr4098u0y2qnsjsz0
- &pi3 age1yf07wefhjgd7adt65nhnqm6j0x6h64n9vrflkuy4thmrnvu30u8qrjwwk8
# command to add a new age key for a new host
# nix-shell -p ssh-to-age --run "ssh-keyscan $host | ssh-to-age"
# sops -r updatekeys ./nix/secrets/secrets.yaml
creation_rules:
- path_regex: nix/secrets/[^/]+\.yaml$
key_groups:
- age:
- *alpha
- *dino
- *tiger
- *pi1
- *pi2
- *pi3
pgp:
- *kyle