title: Generating encrypted private key file with git-bash
body: <p>I am trying to generate a encrytpted private/public key using the code example given here</p>
  <p><a href="https://docs.snowflake.com/en/user-guide/key-pair-auth.html" rel="nofollow noreferrer">https://docs.snowflake.com/en/user-guide/key-pair-auth.html</a></p>
  <pre><code>$ openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8
  </code></pre>
  <p>however it just generates an empty file.  Is there something I'm missing perhaps?</p>
  <p>Any tips would be appreciated</p>