Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowflake Private Key Authentication not working with .snowsql/conf #67

Open
AshwinSTomar opened this issue Jul 24, 2024 · 0 comments
Open

Comments

@AshwinSTomar
Copy link

I am trying to use private key authentication for my sqitch user with snowflake and following the document:
https://sqitch.org/docs/manual/sqitch-authentication/

set the following variables in the ~/.snowsql/config file:

authenticator = SNOWFLAKE_JWT
private_key_path = "path/to/privatekey.p8"

But just making the above change is not working and it throws the bellow error:

[Snowflake][DSI] (20032) Required setting 'PWD' is not present in the connection settings. (SQL-28000)

To make it work I added the below params to the uri string:
authenticator=SNOWFLAKE_JWT;priv_key_file=path/to/privatekey.p8

Is it a bug or we have to make changes to both the snowsql config and sqitch config?

Regards,
Ashwin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant