secrets: update .sops.yaml secret organization

This commit is contained in:
Gabriel Arazas 2023-12-19 12:14:11 +08:00
parent a15e1a035c
commit d80b0b605e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -5,9 +5,9 @@ keys:
- &ni age1dm9xugju4q5gx0zty8ckw655ea904c64gv9qw9fn3lu507ck8uzsag59y8
- &plover age1sj497yr895335rk77qqnrqyx9f7462ma3lz0a0x3w5cnla5uqgpspgggtz
creation_rules:
- path_regex: hosts/ni/secrets/[^/]+\.(yaml|json)$
- path_regex: hosts/ni/(modules/\w+/secret|secrets/[^/]+)\.(yaml|json)$
age: *ni
- path_regex: hosts/plover/secrets/[^/]+\.(yaml|json)$
- path_regex: hosts/plover/(modules/\w+/secret|secrets/[^/]+)\.(yaml|json)$
age: *plover
- path_regex: users/home-manager/foo-dogsquared/[^/]+\.(yaml|json)$
key_groups:
@ -15,10 +15,3 @@ creation_rules:
- *foo-dogsquared-age
- gpg:
- *foo-dogsquared
- path_regex: secrets/[^/]+\.(yaml|json)$
key_groups:
- age:
- *foo-dogsquared-age
- *ni
pgp:
- *foo-dogsquared