I have a number of projects that I am working on that require me to automate some encryption but I'm having a considerable amount of difficulty getting it working correctly.
I have a service account set up with a keychain with all the keys I need.
The desire is
SSIS or other package on a remote server A needs to remotely launch the following command
pgp.exe --decrypt \\Remote Server B\*.asc" --passphrase "mypass" --output "\\RemoteServerC"
The problem im running into here is with authentication. The authentication seems to be breaking between all of the servers when I try to run the command. If I run the same command from the PGP server itself while logged into that account it will run just fine, it only fails to authenticate to the remote servers when I try to run it from a server other than PGP.
I have gotten around this by writing powershell scripts that are located on the PGP server and launching them, but this is not a sustainable approach. Also, I really don't like having my password in cleartext. That means I have to provide passwords to my developers. I could set it up as a env variable, but PGP will only accept the one variable and I'm going to have multiple passphrases being used for multiple keys on this server.
Is anyone doing anything like this that can give me some pointers on what I can do?