title: Generating Key Pair Authentication with passphrase for Snowflake
body: <p>I'm trying to create a public and private key for Snowflakes RSA authentication. I;ve been following <a href="https://docs.snowflake.com/en/user-guide/key-pair-auth.html#configuring-key-pair-authentication" rel="nofollow noreferrer">this</a> documentation. However, I need for there to be a passphrase and the example provided does not elucidate such a feature.</p>
  <p>This is what I've tried, but it does not work:</p>
  <pre><code>openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out -passout pass:THISwillBeYOURpass rsa_key.p8
  </code></pre>
  <p>I'm pretty sure I have the wrong syntax but after reading openssl documentation, it seems like that is the way to do it...</p>
  <p>Any guidance appreciated.</p>