[
https://issues.apache.org/jira/browse/AIRFLOW-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788854#comment-16788854
]
ASF subversion and git services commented on AIRFLOW-4031:
----------------------------------------------------------
Commit 4efaa6c771800e6d084a4200c1e28ae7df8215b1 in airflow's branch
refs/heads/master from Frank Maritato
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=4efaa6c ]
[AIRFLOW-4031] Allow for key pair auth in snowflake hook (#4875)
Reference:
https://docs.snowflake.net/manuals/user-guide/python-connector-example.html#using-key-pair-authentication
> Snowflake Hook - Allow Key Pair Authentication
> ----------------------------------------------
>
> Key: AIRFLOW-4031
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4031
> Project: Apache Airflow
> Issue Type: Improvement
> Affects Versions: 1.10.2
> Reporter: Frank Maritato
> Priority: Major
>
> I'd like to modify the Snowflake Hook to allow for key pair authentication.
> For reference, I've been using this:
> [https://docs.snowflake.net/manuals/user-guide/python-connector-example.html#using-key-pair-authentication]
> My plan is that one would add the path to the private key as a parameter in
> the connection 'extra' json field and use the password for the connection as
> the passphrase for the private key file. So, for example,
> {"private_key_file": "/opt/airflow/snowflake_user.p8" }
> If private_key_file is not specified, it will assume username/password
> authentication as normal. If the private key is not encrypted (not
> recommended), the user can leave the password field blank.
> I will do a pull request with the changes shortly. Open to any feedback if
> you'd like it to work differently.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)