2023-09-04 21:36:31 +02:00
|
|
|
let
|
|
|
|
keys = import ../keys.nix;
|
|
|
|
adminsKeys = builtins.attrValues keys.admins;
|
|
|
|
hut = [ keys.hosts.hut ] ++ adminsKeys;
|
|
|
|
# Only expose ceph keys to safe nodes and admins
|
2023-09-08 19:01:57 +02:00
|
|
|
safe = keys.hostGroup.safe ++ adminsKeys;
|
2023-09-04 21:36:31 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
"ovni-token.age".publicKeys = hut;
|
|
|
|
"nosv-token.age".publicKeys = hut;
|
|
|
|
|
2023-09-08 19:01:57 +02:00
|
|
|
"ceph-user.age".publicKeys = safe;
|
|
|
|
"munge-key.age".publicKeys = safe;
|
2023-09-04 21:36:31 +02:00
|
|
|
}
|