SNOW-1475982: Client does not handle encrypted private keys via privateKey
#855
Labels
question
Issue is a usage/other question rather than a bug
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of NodeJS driver are you using?
1.11.0
What operating system and processor architecture are you using?
What version of NodeJS are you using?
v18.17.0
9.6.7
What are the component versions in the environment (
npm list
)?Server version:
8.21.3
What did you do?
Trying to connect to Snowflake using an encrypted private key that's passed to the client constructor via the
privateKey
option:What did you expect to see?
A successful connection, but instead I got this:
I think the error lies in how the library tries to detect a private key in
lib/util.js
.The text was updated successfully, but these errors were encountered: