Error entering Snowflake RSA private key

0
I'm trying to connect to Snowflake using a technical user. When I test the connection, there is always an error with the private key The dialog states: I've tried every combination I can think of with this and always get the same error. I tried entering as is, removing all carriage returns, changing carriage returns to \n etc. I added the private key passphrase, but also tried without and it makes no difference. What am I doing wrong?
asked
2 answers
0

I spent ages trying to debug this and didn't really get anywhere

So I took a different route and used the SnowflakeRESTSQL module instead and it worked first time

answered
0

Hi Colin Marshall,

Please ensure that you are copying the content from the private key correctly. You can verify this by checking if the key begins with:

-----BEGIN ENCRYPTED PRIVATE KEY-----

For more details, please refer to the Snowflake documentation:

Key-pair authentication and key-pair rotation | Snowflake Documentation

snowflake key-pair gen

 

 

 

answered