2023-12-28 10:38:38 +00:00
|
|
|
# This example uses YAML anchors which allows reuse of multiple keys
|
2023-07-05 15:55:04 +02:00
|
|
|
# without having to repeat yourself.
|
|
|
|
# Also see https://github.com/Mic92/dotfiles/blob/master/nixos/.sops.yaml
|
|
|
|
# for a more complex example.
|
|
|
|
|
2023-11-23 17:14:15 +01:00
|
|
|
# use `ssh-keyscan <IP> | ssh-to-age` to get the age key for a remote machine
|
2023-11-24 11:34:17 +01:00
|
|
|
# use `for file in $(grep -lr "sops:") secrets; do sops updatekeys -y $file; done` for updating
|
2023-07-05 15:55:04 +02:00
|
|
|
keys:
|
|
|
|
- &steveej 6F7069FE6B96E894E60EC45C6EEFA706CB17E89B
|
|
|
|
- &steveej-t14 age17jxphuql70wjkd84azn62ltx9ky69hyvkac23lm8f2j92lznf9hseqq0vl
|
2024-01-23 09:40:21 +00:00
|
|
|
- &steveej-x13s age1y9urllccdcemlv7g5z4peuzeh5ah0a8nu6cnkvym8v2vfhqjd5jql483c6
|
2023-07-09 20:15:06 +02:00
|
|
|
- &elias-e525 age1pmznn2tjpelpmxjxqef48rse5ujggf9kcr8x5vewuadqcw03aavqwy54zm
|
|
|
|
- &justyna-p300 age1ye4fa0v37shz8q4e5uf9cp2avygcp9jtetmnj2sv9y9mqc7gjyksq2cjy8
|
2023-07-05 15:55:04 +02:00
|
|
|
|
2023-07-06 22:42:24 +02:00
|
|
|
- &sj-vps-htz0 age18dmqd7r7fanrfmdxsvwgv9psvhs3hw5ydpvw0na0dv3dlrg4rs3q2wpvgv
|
2024-01-18 21:06:45 +00:00
|
|
|
- &sj-srv1 age18dmqd7r7fanrfmdxsvwgv9psvhs3hw5ydpvw0na0dv3dlrg4rs3q2wpvgv
|
2023-07-06 22:42:24 +02:00
|
|
|
- &srv0-dmz0 age13cyvxrd28j68f97q2dwsn62q5dy8tdxtq86ql2dxv2ncwfrf63dsmkj7n3
|
2024-07-26 14:01:59 +02:00
|
|
|
- &router0-dmz0 age1vr69hfmjgkqu47g5hjacet6n2tq4rhwnvdrmfa6n6l7fkqvvafnsaccf8u
|
2024-06-08 21:04:38 +02:00
|
|
|
- &router0-ifog age1dktk5glcuu34u9t6kp3g2vqyj7dy0elray38t8n75mwa6l0s0vdst2cy00
|
|
|
|
- &router0-hosthatch age1v458x2q70yt0a6m6cq5ehemphtrzfzyhmeg3r872vsyyf65asgwstmqqk4
|
2024-07-26 13:47:57 +02:00
|
|
|
- &hstk0 age10xwq7a4y256yhv02j0u80te0vt4krgfjc68r0uw07t96z7ggmpwqtv38a0
|
2024-06-08 21:04:38 +02:00
|
|
|
|
2023-07-05 15:55:04 +02:00
|
|
|
creation_rules:
|
|
|
|
- path_regex: ^(.+/|)secrets/[^/]+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *steveej-t14
|
2024-01-23 09:40:21 +00:00
|
|
|
- *steveej-x13s
|
2023-07-09 20:15:06 +02:00
|
|
|
- *elias-e525
|
|
|
|
- *justyna-p300
|
2023-08-10 21:45:49 +02:00
|
|
|
|
|
|
|
- *srv0-dmz0
|
|
|
|
- *router0-dmz0
|
|
|
|
|
|
|
|
- *sj-vps-htz0
|
2024-01-18 21:06:45 +00:00
|
|
|
- *sj-srv1
|
2024-07-26 13:47:57 +02:00
|
|
|
- *hstk0
|
2024-06-08 21:04:38 +02:00
|
|
|
- *router0-ifog
|
|
|
|
- *router0-hosthatch
|
2023-07-05 15:55:04 +02:00
|
|
|
- path_regex: ^secrets/steveej-t14/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *steveej-t14
|
2024-01-22 22:50:51 +01:00
|
|
|
- path_regex: ^secrets/desktop/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *steveej-t14
|
2024-01-23 09:40:21 +00:00
|
|
|
- *steveej-x13s
|
2023-07-05 15:55:04 +02:00
|
|
|
- path_regex: ^secrets/servers/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *sj-vps-htz0
|
2024-01-18 21:06:45 +00:00
|
|
|
- *sj-srv1
|
2023-07-05 15:55:04 +02:00
|
|
|
- path_regex: ^nix/os/containers/.+_secrets.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2023-07-15 21:20:45 +02:00
|
|
|
- *sj-vps-htz0
|
2024-01-18 21:06:45 +00:00
|
|
|
- *sj-srv1
|
2023-07-15 21:20:45 +02:00
|
|
|
- path_regex: ^secrets/holochain-infra/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2023-08-10 21:45:49 +02:00
|
|
|
- *srv0-dmz0
|
|
|
|
- path_regex: ^secrets/router0-dmz0/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2023-08-11 18:49:31 +02:00
|
|
|
- *router0-dmz0
|
2024-06-08 21:04:38 +02:00
|
|
|
- path_regex: ^secrets/router0-ifog/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *router0-ifog
|
|
|
|
- path_regex: ^secrets/router0-hosthatch/.+$
|
2024-05-25 21:23:43 +02:00
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2024-06-08 21:04:38 +02:00
|
|
|
- *router0-hosthatch
|
2023-08-11 18:49:31 +02:00
|
|
|
- path_regex: ^secrets/sj-vps-htz0/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2023-11-23 17:14:15 +01:00
|
|
|
- *sj-vps-htz0
|
2024-01-18 21:06:45 +00:00
|
|
|
- path_regex: ^secrets/sj-srv1/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *sj-srv1
|
2024-07-26 13:47:57 +02:00
|
|
|
- path_regex: ^secrets/hstk0/.+$
|
2023-11-23 17:14:15 +01:00
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2024-07-26 13:47:57 +02:00
|
|
|
- *hstk0
|
2024-01-23 09:40:21 +00:00
|
|
|
- path_regex: ^secrets/steveej-x13s/.+$
|
2024-01-21 21:08:01 +01:00
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
2024-01-23 09:40:21 +00:00
|
|
|
- *steveej-x13s
|
2024-03-01 11:21:37 +01:00
|
|
|
- path_regex: ^secrets/work-holo/.+$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *steveej
|
|
|
|
age:
|
|
|
|
- *steveej-x13s
|