Skip to content

Commit 45efd05

Browse files
snowflake connection fix
1 parent 918bd78 commit 45efd05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sync2jira/downstream_issue.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ def get_snowflake_conn():
8181
return snowflake.connector.connect(
8282
account=os.getenv("SNOWFLAKE_ACCOUNT"),
8383
user=os.getenv("SNOWFLAKE_USER"),
84+
authenticator=os.getenv("SNOWFLAKE_AUTHENTICATOR", "SNOWFLAKE_JWT"),
85+
private_key_file=os.getenv("SNOWFLAKE_PRIVATE_KEY_FILE"),
8486
password=os.getenv("SNOWFLAKE_PAT"),
8587
role=os.getenv("SNOWFLAKE_ROLE"),
8688
warehouse=os.getenv("SNOWFLAKE_WAREHOUSE", "DEFAULT"),

0 commit comments

Comments
 (0)