Skip to main content

1. Generate an RSA Private Key

Generate a 2048 or 4096-bit RSA private key:

2. Convert to PKCS#8 Format

First, create an unencrypted PKCS#8 key:
Then, create an encrypted PKCS#8 key (Humm prefers encrypted keys):

3. Extract the Public Key

4. Secure the Private Key File

Store the private key file somewhere safe. Do not commit it to git.

5. Upload the Public Key to Snowflake

Open Snowflake with a role that has user-admin rights and add the public key to the user that will authenticate. Copy the full contents of rsa_key.pub (including the header and footer lines) and run:

6. Upload the Private Key to Humm

  1. Log into Humm and create a Snowflake integration
  2. Choose Private Key as the authentication method
  3. Upload the private key (.p8 file)
  4. Enter the passphrase if you created an encrypted key