Closed zaramzamzam closed 1 month ago
I added some code to the conftest.py
file locally when running tests which I can provide in a PR to enable this.
As an example I added #1525
hi and thank you for your contribution ! the team will review and advise
hey @zaramzamzam , sorry for the late response and thanks for your PR.
the connector has the native support for private_key_file
and private_key_file_pwd
as connection parameters:https://github.com/snowflakedb/snowflake-connector-python/blob/main/src/snowflake/connector/connection.py#L185-L186.
you should be able to just use them and there is no need to update the conftest file
I'm closing the issue, please free feel to reopen if you want anything else
What is the current behavior?
When developing snowpark-python it is currently only possible to run local tests using username and password.
What is the desired behavior?
It would be great if both username and password authentication as well as key-pair authentication would work when running tests locally.
How would this improve
snowflake-snowpark-python
?This would enable developers using key-pair authentication to easily run local tests.