<?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 Creating a refresh token - Databricks in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-refresh-token-Databricks/m-p/2484081#M14182</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We use Qlik Cloud (Analytics) and have connected to Databricks (via a Data Gateway). The authentication is done via a Service Principal token and there is a requirement that the token we use is refreshed every 14 days. Has anyone done something similar before, if so how were you able:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Query Databricks to create a new token&lt;/LI&gt;
&lt;LI&gt;Pass the updated token to the data connection&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 14:55:31 GMT</pubDate>
    <dc:creator>ralph_graham1</dc:creator>
    <dc:date>2024-09-27T14:55:31Z</dc:date>
    <item>
      <title>Creating a refresh token - Databricks</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-refresh-token-Databricks/m-p/2484081#M14182</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We use Qlik Cloud (Analytics) and have connected to Databricks (via a Data Gateway). The authentication is done via a Service Principal token and there is a requirement that the token we use is refreshed every 14 days. Has anyone done something similar before, if so how were you able:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Query Databricks to create a new token&lt;/LI&gt;
&lt;LI&gt;Pass the updated token to the data connection&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 14:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-refresh-token-Databricks/m-p/2484081#M14182</guid>
      <dc:creator>ralph_graham1</dc:creator>
      <dc:date>2024-09-27T14:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a refresh token - Databricks</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-refresh-token-Databricks/m-p/2485535#M14208</link>
      <description>&lt;P&gt;Hi I don't have enough experience to write it down, but a way could be:&lt;/P&gt;
&lt;P&gt;-to create a script to refresh token (maybe python o powershell)&lt;/P&gt;
&lt;P&gt;-store the token securely in a key vault o database&lt;/P&gt;
&lt;P&gt;-use qlik rest api or automation tools like Qlik application automation to update the Databricks data connection with the new token&lt;/P&gt;
&lt;P&gt;-Use a task scheduler (e.g., cron job on Linux, Task Scheduler on Windows, or any cloud-based automation tool) to run the script at the desired interval&lt;/P&gt;
&lt;P&gt;hope it helps,&lt;/P&gt;
&lt;P&gt;kind regards,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 07:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-refresh-token-Databricks/m-p/2485535#M14208</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2024-10-07T07:56:53Z</dc:date>
    </item>
  </channel>
</rss>

