Add secret management with agenix
This commit is contained in:
parent
739b50349c
commit
eee7d2ddcf
4 changed files with 116 additions and 19 deletions
7
hosts/srv01.hf/secrets.nix
Normal file
7
hosts/srv01.hf/secrets.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
age.secrets = {
|
||||
teleport-ca_pin.file = "${inputs.secrets}/secrets/teleport/ca_pin";
|
||||
teleport-join_token.file = "${inputs.secrets}/secrets/srv01-hf/teleport_auth_token";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue