Agenix + Consul
This commit is contained in:
@@ -17,6 +17,10 @@ gpg -d id_<host>.gpg > id_<host>
|
||||
#+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:
|
||||
#+begin_src bash
|
||||
agenix --rekey
|
||||
#+end_src
|
||||
** SSH public key authentication
|
||||
Setting up authentication from localhost (client) to remotehost (server). On localhost run:
|
||||
#+BEGIN_SRC bash
|
||||
|
||||
Reference in New Issue
Block a user