nixops
nixops copied to clipboard
Prevent nixops from generating a private key & deploying it
I'm using a physical token (gpg smartcard) as ssh private key, so nixops practice of generating & deploying a private key to all target machines is a massive downgrade in security for me.
is there a way to prevent nixops from generating & deploying that key?
(I'm using the "none" backend with pre-existing target nixos machines)
I was going to request this too.
It would be great if the SSH key generation can be turned off, and instead NixOps would rely on ssh-agent.
That way, it is easier to share NixOps state between groups of people:
- State files won't contain private SSH keys and can therefore be exported to git
- Each person can have their own SSH key with access to a subset of nixops deployments
Close? implemented in https://github.com/NixOS/nixops/pull/1247