mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 02:58:30 +03:00
c89ed72dc6
more idiomatic
8 lines
289 B
Nix
8 lines
289 B
Nix
let
|
|
user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0idNvgGiucWgup/mP78zyC23uFjYq0evcWdjGQUaBH";
|
|
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPJDyIr/FSz1cJdcoW69R+NrWzwGK/+3gJpqD1t8L2zE";
|
|
in
|
|
{
|
|
"secret1.age".publicKeys = [ user1 system1 ];
|
|
"secret2.age".publicKeys = [ user1 ];
|
|
}
|