Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add private key path #59

Merged
merged 9 commits into from
Jan 4, 2023
Merged

Add private key path #59

merged 9 commits into from
Jan 4, 2023

Conversation

ahuang11
Copy link
Contributor

@ahuang11 ahuang11 commented Jan 4, 2023

User wants to use Snowflake dbt profile, but private_key doesn't work because it's private bytes.

Instead the profile expects private_key_path and private_key_passphrase: https://docs.getdbt.com/reference/warehouse-setups/snowflake-setup#key-pair-authentication

Originally from https://prefect-community.slack.com/archives/CL09KU1K7/p1671766851641279

Closes

Example

Screenshots

Checklist

  • References any related issue by including "Closes #" or "Closes ".
    • If no issue exists and your change is not a small fix, please create an issue first.
  • Includes tests or only affects documentation.
  • Passes pre-commit checks.
    • Run pre-commit install && pre-commit run --all locally for formatting and linting.
  • Includes screenshots of documentation updates.
    • Run mkdocs serve view documentation locally.
  • Summarizes PR's changes in CHANGELOG.md

prefect_snowflake/credentials.py Outdated Show resolved Hide resolved
Delay connection to Snowflake until needed
ahuang11 and others added 3 commits January 4, 2023 09:09
Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com>
@ahuang11 ahuang11 merged commit 7cdf94d into dont_start_connection Jan 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants