deepset-ai / haystack-core-integrations

Additional packages (components, document stores and the likes) to extend the capabilities of Haystack version 2.0 and onwards
https://haystack.deepset.ai
Apache License 2.0
121 stars 119 forks source link

Additional Snowflake Connection Parameters #1179

Open iireland-ii opened 1 week ago

iireland-ii commented 1 week ago

The current snowflake integration assumes a password authentication, snowflake provides additional connection methodologies such as a private_key for engineers to develop services. -https://docs.snowflake.com/developer-guide/python-connector/python-connector-connect#using-key-pair-authentication-and-key-pair-rotation -https://docs.snowflake.com/en/user-guide/key-pair-auth

Solution Add other more secure connection methods to the snowflake_table_retriever class: Private_key_file Private_key_file_pwd

iireland-ii commented 1 week ago

I've created a pull request to add this functionality.

https://github.com/deepset-ai/haystack-core-integrations/pull/1190