I'm trying to create a DAG on airflow that performs some query on snowflake. For our implementation we decided to connect using a private key in stead of using a password.
When I try to add the private_key_file to the extra field (see image) in the snowflake connection however it is not correctly stored. It says it saves it correctly but afterwards the key and value are not in the extra field. However the following is automatically inserted:
{"extra__snowflake__account": "",
"extra__snowflake__aws_access_key_id": "",
"extra__snowflake__aws_secret_access_key": "",
"extra__snowflake__database": "", "extra__snowflake__region": "",
"extra__snowflake__warehouse": ""}
In the placeholder example the "private_key_file" is shown however as shown in the image and in the source code the "private_key_file" key is also used to get a value from this field, so I'm pretty sure I'm putting it in the right spot.
airflow version 2.1.1 apache-airflow-providers-snowflake version 2.0.0
How do I add a private key file to a snowflake connection on airflow?