Skip to content
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

adding privatekey auth param #1190

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed whitespace
iireland-ii committed Nov 14, 2024
commit cd2658fa20fee494f7cba35904ec871505c224fd
Original file line number Diff line number Diff line change
@@ -295,11 +295,9 @@ def _fetch_data(
"warehouse": self.warehouse,
"login_timeout": self.login_timeout
}

# Check if private key has been provided
if self.private_key_file is None:
connect_params["password"] = self.api_key.resolve_value()

# Create a new connection with every run
conn = self._snowflake_connector(
connect_params=connect_params