Agenix: Difference between revisions
imported>Onny Start adding configuration section |
imported>Onny Add more informations to configure section |
||
Line 48: | Line 48: | ||
let | let | ||
user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0idNvgGiucWgup/mP78zyC23uFjYq0evcWdjGQUaBH"; | user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0idNvgGiucWgup/mP78zyC23uFjYq0evcWdjGQUaBH"; | ||
users = [ user1 ]; | |||
users = [ user1 | |||
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPJDyIr/FSz1cJdcoW69R+NrWzwGK/+3gJpqD1t8L2zE"; | system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPJDyIr/FSz1cJdcoW69R+NrWzwGK/+3gJpqD1t8L2zE"; | ||
systems = [ system1 ]; | |||
systems = [ system1 | |||
in | in | ||
{ | { | ||
"secret1.age".publicKeys = [ user1 system1 ]; | "secret1.age".publicKeys = [ user1 system1 ]; | ||
} | } | ||
</nowiki>}} | </nowiki>}} | ||
SSH public keys for a specific user or system can be generated with <code>ssh-keygen</code>, see [[SSH_public_key_authentication|this page]] for more information. | |||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Security]] | [[Category:Security]] |