-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Hi,
Trying to use createConnectionDetails() to them use as a parameter in getDbCovariateData(). However, I am trying to connect to snowflake where we use a JWT authenticator rather than individual passwords.
connectionDetails <- createConnectionDetails( dbms = "snowflake", server = keyring::key_get("server"), user = keyring::key_get("user"), connectionString = keyring::key_get("connectionString"), extraSettings = list(AUTHENTICATOR = "SNOWFLAKE_JWT", PRIV_KEY_FILE = fs::path_home(".p8/private_key.p8"), PRIV_KEY_FILE_PWD = Sys.getenv("PRIVATE_KEY_PWD")), pathToDriver = fs::path_home("...") )
I've tried capturing my authenticator connection information under extraSettings but getting an error message:
Connecting using Snowflake driver
Error in connectUsingJdbcDriver():
! Connection propery 'password' is NULL.
Can someone advise? Thanks!