Environment specific custom account password

I’m wondering if it is possible to use secure variables to specify the custom account password in Windows Service process steps? If not is there another way for different environments to use different passwords for service accounts? The tool allows me to use a variable to specify the custom account username - just wondering if the same is possible for passwords.

The version of octopus deploy we’re using is

Thanks for the helpful tool,


Hi Pat,

Yes. You can create different variables for each scope and mark them as sensitive so that they are encrypted.

Then in your Windows Service configuration, you can use the binding button next to the password to refer to that variable, e.g.:



That’s great, thanks Paul. I hadn’t worked out that that’s what that button was for.