When I install a windows service with octopus, the password gets masked. But when I have an existing windows service set up, the password is visible in the task log (see screenshot):
The x service already exists; it will be stopped and reconfigured
Stopping the x service
sc.exe config "x" binPath= "\"C:\Octopus\Applications\x\14.1.8-dev\x.exe\"" DisplayName= "X" start= "auto" obj= "domain\user" password= "my secret, unmasked password"
Morning guys,
sorry, this may have been fixed at some stage. But I just released a windows service this morning again with version 2.4.5.46 and the password was shown again (see attachment).
Apologies Ben, I’ve shifted the issue to https://github.com/OctopusDeploy/Issues/issues/996 - it would be tremendously bad luck, but it seems as though you might have hit a second bug in the same area (or perhaps there were two independent causes at play the first time).
We’ll need to take a fresh shot at reproducing this, so we’ll post more details via the ticket. Thanks!