I am using Saltstack aka salt for configuration management and it provides remote command execution. However the remote command execution is not interactive, you send the command, the command is run remotely and when it completes you get a response. I have been working on getting tarsnap installed from a local centos repo using salt on all my target servers and I would like to run the keygen after the install completes. Is there anyway to specify the passphrase during tarsnap-keygen?
I am aware of the security issues with having a script containing the passphrase sitting on a server, salt eliminates this, I am just looking to run the setup of tarsnap remotely.
David