Added PrivateKey and PrivateKeyPwd parameters to allow more secure connection methodologies.
Added an additional role parameter and altered the check permissions logic to ensure the role/user has SELECT access, rather than read-only select access.
How did you test it?
Tested locally with dev branch using live Snowflake instance.
Notes for the reviewer
I've added the parameters which are commonly used (at least within our org), there is scope to add further params or custom connections. Happy to make future feature branches for this or discuss these changes further.
Related Issues
Proposed Changes:
Added PrivateKey and PrivateKeyPwd parameters to allow more secure connection methodologies. Added an additional role parameter and altered the check permissions logic to ensure the role/user has SELECT access, rather than read-only select access.
How did you test it?
Tested locally with dev branch using live Snowflake instance.
Notes for the reviewer
I've added the parameters which are commonly used (at least within our org), there is scope to add further params or custom connections. Happy to make future feature branches for this or discuss these changes further.