-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using odbc::snowflake()
with authenticator = "SNOWFLAKE_JWT"
#889
Comments
Hi @simonpcouch. I can confirm it does not require |
@atheriel are you able to reproduce the above hang with |
I can't confirm the hang, but my test environment is different in an important way: it does not have a keypair with a password. This does work for me with the linked PR: DBI::dbConnect(
odbc::snowflake(),
account = Sys.getenv("SNOWFLAKE_ACCOUNT"),
authenticator = "SNOWFLAKE_JWT",
uid = Sys.getenv("SNOWFLAKE_USER"),
priv_key_file = "rsa_key.p8",
) |
I will check with keypair without password later today. |
I can confirm it works well with and without password protected keypair. Thanks for fix. |
Hi,
I am trying to connect to Snowflake using the new
drv = odbc::snowflake()
. It seems to expect bothuid
andpwd
to be supplied at the same time. But what if I want to connect usingauthenticator = "SNOWFLAKE_JWT"
and usepriv_key_file
andpriv_key_file_pwd
instead ofuid
andpwd
? It still requiresUID
argumentgives
When I try
it throws
While
just hangs.
Is there a way to use
odbc::snowflake()
withSNOWFLAKE_JWT
? Or should I just continue usingdrv = odbc::odbc()
instead? Thanks for help. :)The text was updated successfully, but these errors were encountered: