snowflake-connector-nodejs icon indicating copy to clipboard operation
snowflake-connector-nodejs copied to clipboard

Support key-based authentication

Open casey-largent opened this issue 5 years ago • 6 comments

Both the Python and Java implementations support the use of Public/Private key pairs. This should be available in this connector as well.

https://docs.snowflake.net/manuals/user-guide/python-connector-example.html#using-key-pair-authentication

https://docs.snowflake.net/manuals/user-guide/jdbc-configure.html#using-key-pair-authentication

casey-largent avatar Sep 26 '19 19:09 casey-largent

Already in the JIRA but didn't have a chance to implement it.

smtakeda avatar Sep 26 '19 19:09 smtakeda

Hello! Do we have an estimation of when this will be implemented? Or is this not a high priority feature that would like be taken care of in the near future?

moyuanhuang avatar Mar 03 '20 18:03 moyuanhuang

Curious if we could have an update on this issue. I believe that only having plaintext user/password credentials as an authentication method is not very secure.

saidramirez avatar Jan 29 '21 18:01 saidramirez

We are working on external browser authentication support with key-pair auth to follow soon afterwards. External browser auth should be released within the next two releases. We don't have a firm timeline on when key-pair auth is going to be released. But I will update here when there we have a better idea.

(of course timelines are subject to change)

sfc-gh-kwagner avatar Feb 10 '21 20:02 sfc-gh-kwagner

Looks like the latest version support key pair auth: https://docs.snowflake.com/en/user-guide/nodejs-driver-use.html#using-key-pair-authentication-key-pair-rotation

jacobworrel avatar Mar 25 '21 18:03 jacobworrel

Thanks for the follow up!

On Thu, Mar 25, 2021 at 11:59 AM Jacob Worrel @.***> wrote:

Looks like the latest version support key pair auth: https://docs.snowflake.com/en/user-guide/nodejs-driver-use.html#using-key-pair-authentication-key-pair-rotation

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snowflakedb/snowflake-connector-nodejs/issues/62#issuecomment-807287846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIPEFTFM4II67NXIE6UBYDTTFOBX5ANCNFSM4I26AYNQ .

saidramirez avatar Mar 25 '21 22:03 saidramirez

keypair authentication support released with v1.6.0, thank you for your patience

sfc-gh-dszmolka avatar Jan 14 '23 07:01 sfc-gh-dszmolka