Added consul and nomad to thingvellir
This commit is contained in:
@@ -13,6 +13,16 @@ You can decrypt it later with:
|
||||
#+begin_src bash
|
||||
gpg -d id_<host>.gpg > id_<host>
|
||||
#+end_src
|
||||
** Deploy the ssh keypair
|
||||
You can use scp:
|
||||
#+begin_src bash
|
||||
scp id_<host> <user>@<host>:.ssh/id_<host>
|
||||
scp id_<host>.pub <user>@<host>:.ssh/id_<host>.pub
|
||||
#+end_src
|
||||
Create a symbolic link for the host key (so we can use uniform naming in other parts):
|
||||
#+begin_src bash
|
||||
ln -s ~/.ssh/id_<host> ~/.ssh/id_ed25519
|
||||
#+end_src
|
||||
** Add the public key to secrets.nix
|
||||
In the [[file:../secrets/secrets.nix][agenix secrets file]] add the public key, and give access to the necessary secrets.
|
||||
Remember to rekey the secrets afterwards:
|
||||
|
||||
Reference in New Issue
Block a user