Is it possible to store authentication string in encrypted form as it is possible with the connection string for command line tools?
Maybe you can throw in some powershell to accomplish this:
www.letsdevops.net/.../powershell-encrypt-and-decrypt-data-by-using-certificates-public-key-private-key