title: IdentityServer4: how to add persistent key and deploy in production?
body: <p>The quickstart sample code uses AddTemporarySigningCredential </p>
  
  <blockquote>
    <p>The <strong>AddTemporarySigningCredential</strong> extension creates temporary key
    material for signing tokens on every start. Again this might be useful
    to get started, but needs to be replaced by some persistent key
    material for production scenarios. See the <a href="http://docs.identityserver.io/en/release/topics/crypto.html#refcrypto" rel="noreferrer">cryptography</a> docs for more
    information.</p>
  </blockquote>
  
  <p><strong>Is there a step by step guide on how to replace AddTemporarySigningCredential() with my own persistent key, and deploy identityserver in production?</strong></p>