forked from rarias/bscpkgs
Add encrypted munge key with agenix
This commit is contained in:
BIN
secrets/munge-key.age
Normal file
BIN
secrets/munge-key.age
Normal file
Binary file not shown.
@@ -3,11 +3,12 @@ let
|
||||
adminsKeys = builtins.attrValues keys.admins;
|
||||
hut = [ keys.hosts.hut ] ++ adminsKeys;
|
||||
# Only expose ceph keys to safe nodes and admins
|
||||
ceph = keys.hostGroup.safe ++ adminsKeys;
|
||||
safe = keys.hostGroup.safe ++ adminsKeys;
|
||||
in
|
||||
{
|
||||
"ovni-token.age".publicKeys = hut;
|
||||
"nosv-token.age".publicKeys = hut;
|
||||
|
||||
"ceph-user.age".publicKeys = ceph;
|
||||
"ceph-user.age".publicKeys = safe;
|
||||
"munge-key.age".publicKeys = safe;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user