key pair connection with snowflake #24286
Replies: 4 comments 10 replies
-
|
cc: @dprophet |
Beta Was this translation helpful? Give feedback.
-
|
You can use |
Beta Was this translation helpful? Give feedback.
-
|
i've tried to use the connection url but im getting this error: Query 20241206_174018_00134_28n39 failed: Connection string is invalid. Unable to parse. i've used like this: connection-url=jdbc:snowflake://XXXXXXXXXXXXX&private_key_path=XXXXXXXXXX |
Beta Was this translation helpful? Give feedback.
-
|
I got it to work as I have to create a new key (.p8) without encrypted password. Adding Snowflake Bouncy Castle options to jvm.config: and also in docker container settings for Trino: My .properties: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In snowflake recents upgrade, for security, it was included a new feature that classifies users into personal access or service access, users with personal access are forced to use MFA and users with service access are forced to use a RSA key pair connection.
Until then i've been trying to find a way to connect trino to snowflake using service access (key pair), but the connector doesnt give that option and i didnt find any PR about it, today im using a legacy definition of user in snowflake because of that, there is another way? I think it will be a great advance for snowflake users who work with trino.
Beta Was this translation helpful? Give feedback.
All reactions