mirror of
https://github.com/RGBCube/agenix
synced 2025-07-27 16:57:46 +00:00
use Nix instead of YAML
This commit is contained in:
parent
91ff516ef6
commit
7957842d88
4 changed files with 31 additions and 41 deletions
8
example/secrets.nix
Normal file
8
example/secrets.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
let
|
||||
user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0idNvgGiucWgup/mP78zyC23uFjYq0evcWdjGQUaBH";
|
||||
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPJDyIr/FSz1cJdcoW69R+NrWzwGK/+3gJpqD1t8L2zE";
|
||||
in
|
||||
{
|
||||
"secret1.age".public_keys = [ user1 system1];
|
||||
"secret2.age".public_keys = [ user1 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue