Suppress logging output variable in transformation step

We use output variables in our variables to dynamically insert passwords in connection strings.
The variable value looks like this: data source=database_server1;initial catalog=database1;User ID=databaseUserPassword=#{Octopus.Action[GetDBPassword].Output.DatabasePassword};

We then have a PowerShell script that gets the password from SecretServer and outputs the DatabasePassword variable. This works great except the password is in plain text in the RAW output.

Is there a way to suppress the transformation step in the RAW log?

Hi Brett,

Thanks for getting in touch!

No, unfortunately there is no way for suppress the output from the transformation step. Our guidance on using passwords in variables, is to set them up as sensitive variables in your project and this way they will be masked in the logs.

Thank you and kind regards,
Henrik