Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community,
Is there any option to set a custom role to the Endpoint Connection for Snowflake?
All I can find in the documentation is that it uses SYSADMIN: https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Snowflake_Google_Target/google_...
There is a need for using Snowflake external OAuth with OKTA.
To use this, a token is generated by mentioning the scope, which maps to the role.
However, in this particular scenario, role will not be defined in OKTA, and instead a generic scope is defined: SESSION:ROLE-ANY.
This allows the connection to be made to Snowflake with a valid token, but the user needs to manually change the role after connecting.
For Azure and AWS it seems that there is way to do this: https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Snowflake%20Target/snowflake_pe...
But for Google, the "Additional ODBC connection properties" setting is not available in the UI:
Thank you
Hello @strandafir ,
Thanks for reaching out to Qlik Community!
There are several options you may have a try:
1- Add internal parameter additionalConnectionProperties and then input the properties settings there;
2- If the above option does not work and you might want to manually change the role after connecting, you may add internal parameter afterConnectScript and put the alter session command there.
Hope this helps.
John.
Hello @strandafir ,
Thanks for reaching out to Qlik Community!
There are several options you may have a try:
1- Add internal parameter additionalConnectionProperties and then input the properties settings there;
2- If the above option does not work and you might want to manually change the role after connecting, you may add internal parameter afterConnectScript and put the alter session command there.
Hope this helps.
John.
Thank you@john_wang ! I have tested out with afterConnectScript and it works!
Thank you so much for your excellent support @strandafir ! if you can share sample command then it's much appreciated, it's valuable for all of us.
Best Regards,
John.
Hey! Sure, here is how it was achieved:
Thank you so much for your information in resolving the technical issue. Your support made a big difference, and I truly appreciate it! @strandafir