Skip to content

Commit

Permalink
update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
jtshafer committed Jul 10, 2024
1 parent 09773eb commit 55addcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/perfect-lobsters-compare.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@evidence-dev/snowflake': minor
---

Pass proxyHost and proxyPort from connection.yaml to the snowflake connector for user/pass auth
Add Proxy config section/options to snowflake connector
2 changes: 1 addition & 1 deletion packages/datasources/snowflake/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const getCredentials = (database = {}) => {
// https://docs.snowflake.com/en/developer-guide/node-js/nodejs-driver-connect#label-nodejs-proxy-connection
const proxyOptions = database.proxy
? {
proxyHost: database.proxy.host ?? undefined,
proxyHost: database.proxy.host,
proxyPort: database.proxy.port,
proxyUser: database.proxy.username,
proxyPassword: database.proxy.password,
Expand Down

0 comments on commit 55addcb

Please sign in to comment.