Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Conversation

@brifitz
Copy link

@brifitz brifitz commented Jan 29, 2025

resolves #
docs dbt-labs/docs.getdbt.com/#

Problem

Unable to connect to Snowflake in a corporate environment as proxy_user and proxy password are not attributes of SnowflakeCredentials. These attributes are attributes of the underlying SnowflakeConnection, just like proxy_host and proxy_port, however the SnowflakeCredentials class does not currently expose them.

Solution

Successfully connected to Snowflake after hard-coding the proxy_user and proxy password in the snowflake.connector.connect(...) in the SnowflakeConnectionManager class.

This PR exposes the proxy_user and proxy password attributes of the underlying SnowflakeConnection class to the SnowflakeCredentials class so that the above workaround is not needed.

Checklist

  • [ x] I have read the contributing guide and understand what's expected of me
  • [ x] I have run this code in development and it appears to resolve the stated issue
  • [ x] This PR includes tests, or tests are not required/relevant for this PR
  • [ x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@brifitz brifitz requested a review from a team as a code owner January 29, 2025 19:53
@cla-bot cla-bot bot added the cla:yes label Jan 29, 2025
@brifitz
Copy link
Author

brifitz commented Mar 6, 2025

It would be great if someone could review this. Thanks

@colin-rogers-dbt
Copy link
Contributor

@brifitz Thanks for the PR, we recently migrated this package to dbt-labs/dbt-adapters, can you move your PR there?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants