You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If SnowflakeResource is initiated with a private_key string as found in a .p8 file, get_connection() will fail. This is because private_key as a str field is not correctly passed to the cryptography library function serialization.load_pem_private_key() here
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
By submitting this issue, you agree to follow Dagster's Code of Conduct.
The text was updated successfully, but these errors were encountered:
What's the issue?
If
SnowflakeResource
is initiated with aprivate_key
string as found in a.p8
file,get_connection()
will fail. This is becauseprivate_key
as astr
field is not correctly passed to the cryptography library functionserialization.load_pem_private_key()
heredagster/python_modules/libraries/dagster-snowflake/dagster_snowflake/resources.py
Lines 397 to 399 in aaac011
What did you expect to happen?
A connection is established if the credentials are valid.
How to reproduce?
gives:
Dagster version
1.8.13
Deployment type
None
Deployment details
No response
Additional information
Changing the above lines of library to the below seems to help:
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
By submitting this issue, you agree to follow Dagster's Code of Conduct.
The text was updated successfully, but these errors were encountered: