1. Generate an RSA Private Key
Generate a 2048 or 4096-bit RSA private key:
First, create an unencrypted PKCS#8 key:
Then, create an encrypted PKCS#8 key (Humm prefers encrypted keys):
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
- Log into Humm and create a Snowflake integration
- Choose Private Key as the authentication method
- Upload the private key (
.p8 file)
- Enter the passphrase if you created an encrypted key