Snowflake - Retrieve a private key
3
PreviousSnowflake - Daily exports from AB Tasty to SnowflakeNextRedshift - Daily exports from AB Tasty to Redshift
Last updated
Was this helpful?
Context This page is linked to the Snowflake connector creation process. It will allow you to use the Public Key authentication method.
If you haven’t created a key pair yet, you can generate one with the openssl command-line tool. Use the following command to produce an unencrypted private key file:
openssl genpkey -algorithm RSA -out rsa_key.pem -pkeyopt rsa_keygen_bits:2048A new file rsa_key.pem should be created in your current folder
While on Snowflake editior, You can use this SQL command.
Replace <user_name> with your user name and <public_key_value> with your public key.
use role securityadmin;
alter user YOUR_USER_NAME
set rsa_public_key='YOUR PUBLIC KEY'; // Paste here your public keyIf you want to check to be sure this user is linked to your public key, you can check with this command
show users like 'YOUR_USER_NAME';The column has_rsa_public_key should be set to true
You can now resume your connector creation
Last updated
Was this helpful?
Was this helpful?

