-
Notifications
You must be signed in to change notification settings - Fork 214
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
Support for Oauth for Snowflake #628
Comments
I think so, yes. See sqitch-authentication; search the page for |
Hi David, Thanks for the feedback. Went through the mail list and documentation. When we do say SNOWFLAKE_JWT it is referring to private key authentication with Snowflake. What we were trying is to use a JWT bearer token set up from Azure AD for password-less entry mechanism. Since snowsql supports bearer token/password-less entry, our assumption is Sqitch to have a way around to resolve this issue. Meanwhile as suggested, I have sent a mail in the Sqitchers group also for the same. Regards, |
Hi David, Just to add the need of the OAuth(password less entry) for Snowflake.
|
Hi David @theory , Any help here. |
I'm sorry I know nothing about Snowflake's OAuth functionality. Maybe there's a way to get it working by setting the authenticator type to
But I'm just guessing. You're going to have to do some experimentation to figure out what you need in the environment and/or |
Hi @theory David, We validated OAuth with Snowflake ODBC driver. Worked fine after a small change by making it to look at iodbc rather than unixodbc From Sqitch perspective, Can you tell us whether Sqitch by default looks at unixodbc ? Can we override/change to look for iodbc ? **Current error message ** |
If I understand correctly, you're saying:
Correct? If so, I think the answer to that third point is to uninstall iodbc then re-compile DBD::ODBC to use iodbc. If I recall correctly, it's a compile-time dependency. How did you install Sqitch? |
Hi @theory Followed your iODBC recommendation and was going through below documentation (mapping iODBC) and unfortunately we were getting below error while executing "env ODBCHOME=/opt/openlink/odbcsdk perl Makefile.PL" command: Do you recommend any comments to resolve this issue?
Thanks & Regards, |
This bit I think is key:
|
Hi @theory [abc@xyz ~]$ sudo yum install libiodbc-devel I have already installed libiodbc-dev package. Below is the logs post execution of perl Makefile.PL _********** OSNAME: linux Your LANG environment variable is set to "en_US.UTF-8" You are using a Perl configured with threading enabled. You should also be aware that on non-Windows platforms ODBC drivers come Press return to continue... ODBC data sources should be added to /etc/odbc.ini ODBC drivers should be added to /etc/odbcinst.ini iodbc-config reports --prefix=/usr I cannot find driver manager header files. Perhaps you need to install the The DBD::ODBC module needs to link with an ODBC 'Driver Manager'. You need to indicate where your ODBC Driver Manager is installed. o setting the ODBCHOME environment variable If you do not have an ODBC Driver Manager you should try to get hold of |
Did you try setting the ODBCHOME environment variable or passing the |
Hi Team,
For a custom requirement using sqitch & Snowflake, we need to fallback on OAuth as an authentication method.
When I tried individually through Snowsql the OAuth worked fine.
Hoped Sqitch will work on the same means. But when I tried to run sqitch deploy, it didn't recognized and raised an error related to "Token".
Is there an option to connect with Snowflake from Sqitch using the OAuth mechanism ?
The text was updated successfully, but these errors were encountered: