erg commented on issue #58573:
URL: https://github.com/apache/airflow/issues/58573#issuecomment-3638857661

   I tried base64 encoding it -- it's broken!
   
   If you haven't personally base64 encoded your snowflake private rsa key and 
gotten the snowflake connector to work, then please reopen this bug.
   
   
https://airflow.apache.org/docs/apache-airflow-providers-snowflake/stable/connections/snowflake.html
   
   ```python
   import base64
   
   with open("path/to/your/private_key.pem", "rb") as key_file:
       encoded_key = base64.b64encode(key_file.read()).decode("utf-8")
       print(encoded_key)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to