title: How to use output variable for replacing variables in config file
body: <p>I have defined 3 steps in my deploy process:</p>
  
  <ol>
  <li>Generate password (Run a Script)</li>
  <li>Deploy admin API (Deploy an IIS Web Site)</li>
  <li>Deploy public API (Deploy an IIS Web Site)</li>
  </ol>
  
  <p>In step 1, I use following PowerShell script to generate random password:</p>
  
  <pre><code>[Reflection.Assembly]::LoadWithPartialName("System.Web")
  
  $pwd = [System.Web.Security.Membership]::GeneratePassword(15,2)
  
  Set-OctopusVariable -name "Password" -value $pwd -sensitive
  </code></pre>
  
  <p>There are some variables defined in the project under <code>Variables</code> section, and they correctly replace corresponding values in config files in step 2 and 3.</p>
  
  <p>My question is, how to use <code>Password</code> variable from step 1 to replace corresponding fields in config files in steps 2 and 3?</p>