2023-10-29 21:19:51 +01:00
|
|
|
# This example uses YAML anchors which allows reuse of multiple keys
|
|
|
|
# without having to repeat yourself.
|
2024-01-23 13:39:13 +01:00
|
|
|
# Also see https://github.com/Mic92/dotfiles/blob/main/nixos/.sops.yaml
|
2023-10-29 21:19:51 +01:00
|
|
|
# for a more complex example.
|
|
|
|
keys:
|
2023-11-04 10:30:17 +01:00
|
|
|
- &admin_lillian age12e00qvf4shtmsfq3ujamyaa72pjvad2qhrxkvpl9hryrjvgxev4sjhmkxz
|
2023-10-29 21:19:51 +01:00
|
|
|
creation_rules:
|
|
|
|
- path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
|
|
|
|
key_groups:
|
2023-11-04 10:30:17 +01:00
|
|
|
- age:
|
|
|
|
- *admin_lillian
|
2024-01-23 13:44:18 +01:00
|
|
|
# Run the following command to create EDI-Lillian.yaml in the secrets folder:
|
2023-11-04 10:30:17 +01:00
|
|
|
# nix-shell -p sops --run "sops secrets/EDI-Lillian.yaml"
|