nix-dotfiles/.sops.yaml

43 lines
1.1 KiB
YAML
Raw Normal View History

2023-12-26 02:56:52 +01:00
keys:
# The PGP keys in keys/
2023-12-26 19:06:02 +01:00
- &admin_alice F63832C3080D6E1AC77EECF80B4245FFE305BC82
- &admin_dennis 8F79E6CD6434700615867480D11A514F5095BFA8
2023-12-26 02:56:52 +01:00
# Generate AGE keys from SSH keys with:
# nix-shell -p ssh-to-age --run 'ssh some.ssh.wavelens.io cat /etc/ssh/ssh_host_ed25519_key.pub | ssh-to-age'
- &palatine-hill age1z8q02wdp0a2ep5uuffgfeqlfam4ztl95frhw5qhnn6knn0rrmcnqk5evej
- &photon age1rjlc6vwnz2lcrpshtd9rldlxels6l2utwmnmf3prus8drfefeywq5ljrdg
2023-12-26 10:45:54 +01:00
# update keys by executing: sops updatekeys secrets.yaml
2023-12-26 02:56:52 +01:00
creation_rules:
2023-12-26 19:06:02 +01:00
- path_regex: systems/palatine-hill/secrets\.yaml$
key_groups:
- pgp:
- *admin_alice
- *admin_dennis
age:
- *palatine-hill
2023-12-26 02:56:52 +01:00
- path_regex: systems/photon/secrets\.yaml$
key_groups:
2023-12-26 19:06:02 +01:00
- pgp:
- *admin_alice
- *admin_dennis
age:
- *photon
- path_regex: users/alice/secrets\.yaml$
key_groups:
- pgp:
- *admin_alice
age:
- *palatine-hill
- *photon
- path_regex: users/dennis/secrets\.yaml$
key_groups:
- pgp:
- *admin_dennis
2023-12-26 02:56:52 +01:00
age:
2023-12-26 19:06:02 +01:00
- *palatine-hill
2023-12-26 02:56:52 +01:00
- *photon