title: How to implement machineKey in ASP.NET Core 2.0
body: <p>In ASP.NET (not core) I would normally add a machineKey to the web.config so that I could perform some functions on a local machine instead of the server so that database/callback operations would use the same key. Eg</p>
  
  <pre><code>&lt;system.web&gt;
    &lt;machineKey validationKey="*********" 
                decryptionKey="*********" 
                validation="HMACSHA256" 
                decryption="AES" /&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>Please can someone advise how this can be done in ASP.NET Core 2.0?</p>