datacontract / datacontract-cli

CLI to manage your datacontract.yaml files
https://cli.datacontract.com
Other
484 stars 94 forks source link

feat: Propagate all env vars with DATACONTRACT_SNOWFLAKE_ prefix #339

Closed tarys closed 4 months ago

tarys commented 4 months ago

Soda documentation states that all parameters from the Snowflake Python Connector are supported. Thus, we only need to propagate them from environmental variables to the underlying Soda configuration.

This change will allow a lot of flexibility when connecting to Snowflake. For example, OAuth and RSA key authentication, custom session timezone, etc.

jochenchrist commented 4 months ago

Great contribution, very elegant. Thanks.

tarys commented 4 months ago

Thanks a lot! Tried to make it both backward compatible and future proof.