2023-07-15 14:32:18 +00:00
|
|
|
let
|
|
|
|
# set ssh public keys here for your system and user
|
|
|
|
machines = {
|
|
|
|
dumpyourvms = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILDATEWAgDZFfYs1ZPh33Kg4sqQ9tWMVKyk8XqFu3Koe host@dumpyourvms";
|
2023-07-17 19:06:45 +00:00
|
|
|
test-vm = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB7EsR4wT+bOaC/rafTZUqsR7z9SFM57Oabv+I0ar454 host@test-vm";
|
2023-07-15 14:32:18 +00:00
|
|
|
};
|
|
|
|
users = {
|
|
|
|
teutat3s = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf teutat3s@dumpyourvms";
|
|
|
|
root = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf root@test-vm";
|
|
|
|
};
|
|
|
|
allKeys = [machines.dumpyourvms machines.test-vm users.root users.teutat3s];
|
|
|
|
in {
|
|
|
|
"admin-password.age".publicKeys = allKeys;
|
|
|
|
"database-root-password.age".publicKeys = allKeys;
|
|
|
|
"database-user-password.age".publicKeys = allKeys;
|
|
|
|
}
|