we use Teamcity for our build and deployment tasks. We often use psexec to execute tasks on remote hosts (install msi's, stop start services etc). How can we pass a username and password to such a task while keeping the username and password secret from people who view the logs from team city?
We mostly use nant as the runner.
We have discussed using environment variables, but that doesn't seem very secure to us. I'm pretty sure it would be expanded in the log anyway.
Any help would be appreciated.
ps. Happy New Year ^_^