<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting the default role when using Snowflake on GCP as a target in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483693#M12831</link>
    <description>&lt;P&gt;Thank you&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt; ! I have tested out with afterConnectScript and it works! &lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 08:23:43 GMT</pubDate>
    <dc:creator>strandafir</dc:creator>
    <dc:date>2024-09-26T08:23:43Z</dc:date>
    <item>
      <title>Setting the default role when using Snowflake on GCP as a target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2481756#M12739</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any option to set a custom role to the Endpoint Connection for Snowflake?&lt;/P&gt;
&lt;P&gt;All I can find in the documentation is that it uses SYSADMIN: &lt;A href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Snowflake_Google_Target/google_permissions_snow.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Snowflake_Google_Target/google_permissions_snow.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is a need for using Snowflake external OAuth with OKTA.&lt;/P&gt;
&lt;P&gt;To use this, a token is generated by mentioning the scope, which maps to the role.&lt;/P&gt;
&lt;P&gt;However, in this particular scenario, role will not be defined in OKTA, and instead a generic scope is defined: SESSION:ROLE-ANY.&lt;/P&gt;
&lt;P&gt;This allows the connection to be made to Snowflake with a valid token, but the user needs to manually change the role after connecting.&lt;/P&gt;
&lt;P&gt;For Azure and AWS it seems that there is way to do this: &lt;A href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Snowflake%20Target/snowflake_permissions.htm?id=802#Required%20permissions" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/Snowflake%20Target/snowflake_permissions.htm?id=802#Required%20permissions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But for Google, the "&lt;SPAN class="ui_item"&gt;Additional ODBC connection properties&lt;/SPAN&gt;" setting is not available in the UI:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="strandafir_0-1726484471484.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171688iBECE8A587432DD71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="strandafir_0-1726484471484.png" alt="strandafir_0-1726484471484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 11:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2481756#M12739</guid>
      <dc:creator>strandafir</dc:creator>
      <dc:date>2024-09-16T11:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the default role when using Snowflake on GCP as a target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2481796#M12740</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/151038"&gt;@strandafir&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;There are several options you may have a try:&lt;/P&gt;
&lt;P&gt;1- Add internal parameter&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;additionalConnectionProperties&lt;/FONT&gt; and then input the properties settings there;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1726490788343.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171699iE80914EDB8B8697F/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1726490788343.png" alt="john_wang_0-1726490788343.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- If the above option does not work and you might want to manually change the role after connecting, you may add internal parameter&amp;nbsp;&lt;FONT face="courier new,courier"&gt;afterConnectScript&lt;/FONT&gt; and put the alter session command there.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1726490945746.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171700i9A0631B99E028408/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_1-1726490945746.png" alt="john_wang_1-1726490945746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2481796#M12740</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-09-16T12:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the default role when using Snowflake on GCP as a target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483693#M12831</link>
      <description>&lt;P&gt;Thank you&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt; ! I have tested out with afterConnectScript and it works! &lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 08:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483693#M12831</guid>
      <dc:creator>strandafir</dc:creator>
      <dc:date>2024-09-26T08:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the default role when using Snowflake on GCP as a target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483696#M12832</link>
      <description>&lt;P&gt;Thank you so much for your excellent support&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/151038"&gt;@strandafir&lt;/a&gt;&amp;nbsp;! if you can share sample command then it's much appreciated, it's valuable for all of us.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483696#M12832</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-09-26T09:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the default role when using Snowflake on GCP as a target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483699#M12833</link>
      <description>&lt;P&gt;Hey! Sure, here is how it was achieved:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="strandafir_0-1727341642937.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172173i3ED9F9212FB82D40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="strandafir_0-1727341642937.png" alt="strandafir_0-1727341642937.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483699#M12833</guid>
      <dc:creator>strandafir</dc:creator>
      <dc:date>2024-09-26T09:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the default role when using Snowflake on GCP as a target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483703#M12836</link>
      <description>&lt;P&gt;Thank you so much for your information in resolving the technical issue. Your support made a big difference, and I truly appreciate it!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/151038"&gt;@strandafir&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Setting-the-default-role-when-using-Snowflake-on-GCP-as-a-target/m-p/2483703#M12836</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-09-26T09:19:06Z</dc:date>
    </item>
  </channel>
</rss>

