2023-12-26 02:56:52 +01:00
|
|
|
keys:
|
2025-03-13 17:50:03 -04:00
|
|
|
# The PGP keys in keys/
|
|
|
|
- &admin_alice 5EFFB75F7C9B74EAA5C4637547940175096C1330
|
|
|
|
# Generate AGE keys from SSH keys with:
|
|
|
|
# ssh-keygen -A
|
|
|
|
# nix-shell -p ssh-to-age --run 'cat /etc/ssh/ssh_host_ed25519_key.pub | ssh-to-age'
|
|
|
|
# cspell:disable
|
|
|
|
- &artemision age1jd2dcpykagz20kpk2kkchte3augqncwfn6nywursx0dkfyze6feqdzxkq2
|
|
|
|
- &artemision-home age1t29a6z6cfy8m3cnc8uva0ey833vhcppue8psyumts7mtyf0zufcqvfshuc
|
2024-08-22 00:50:54 -04:00
|
|
|
#- &palatine-hill age1z8q02wdp0a2ep5uuffgfeqlfam4ztl95frhw5qhnn6knn0rrmcnqk5evej
|
2025-03-13 17:50:03 -04:00
|
|
|
- &palatine-hill age1qw5k8h72k3fjg5gmlxx8q8gwlc2k6n6u08d8hdzpm2pk9r0fnfxsmw33nh
|
|
|
|
# cspell:enable
|
2024-01-07 16:57:42 -05:00
|
|
|
servers: &servers
|
2025-03-13 17:50:03 -04:00
|
|
|
- *palatine-hill
|
2023-12-29 14:25:01 -05:00
|
|
|
# add new users by executing: sops users/<user>/secrets.yaml
|
|
|
|
# then have someone already in the repo run the below
|
|
|
|
#
|
2023-12-26 10:45:54 +01:00
|
|
|
# update keys by executing: sops updatekeys secrets.yaml
|
2024-04-27 20:48:44 -04:00
|
|
|
# note: add .* before \.yaml if you'd like to use the mergetool config
|
2023-12-26 02:56:52 +01:00
|
|
|
creation_rules:
|
2025-03-13 17:50:03 -04:00
|
|
|
- path_regex: users/alice/secrets.*\.yaml$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *admin_alice
|
|
|
|
age:
|
|
|
|
- *palatine-hill
|
|
|
|
- *artemision
|
|
|
|
- *artemision-home
|
|
|
|
- path_regex: systems/palatine-hill/secrets.*\.yaml$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *admin_alice
|
|
|
|
age:
|
|
|
|
- *palatine-hill
|
|
|
|
- path_regex: systems/artemision/secrets.*\.yaml$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *admin_alice
|
|
|
|
age:
|
|
|
|
- *artemision
|
|
|
|
- path_regex: systems/palatine-hill/docker/wg/.*\.conf$
|
|
|
|
key_groups:
|
|
|
|
- pgp:
|
|
|
|
- *admin_alice
|
|
|
|
age:
|
|
|
|
- *palatine-hill
|