modules: secrets: add 'owner' logic

This commit is contained in:
Bruno BELANYI 2021-09-26 19:19:35 +02:00
parent 5f41bb1647
commit 30eaefc1d1
4 changed files with 11 additions and 13 deletions

View file

@ -27,7 +27,11 @@ in
"monitoring/password.age".publicKeys = all;
"nextcloud/password.age".publicKeys = all;
"nextcloud/password.age" = {
# Must be readable by the service
owner = "nextcloud";
publicKeys = all;
};
"paperless/password.age".publicKeys = all;
"paperless/secret-key.age".publicKeys = all;