<?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 Azure Databricks SQL Execution API Authentication in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/59524#M6748</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;If a cloud application wants to read some data from Databricks we realize that Azure Databricks can expose its Tables via REST API.&lt;/P&gt;&lt;P&gt;For its authentication what is the most recommended method - I see we can have PAT token tagged to a Service Principal seemingly most secure ?&lt;/P&gt;&lt;P&gt;Also in the documentation I am confused with the below statement - ( as Oauth is for authorization and not authentication ?? )&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;As a security best practice when you authenticate with automated tools, systems, scripts, and apps, Databricks recommends that you use OAuth tokens.&lt;/P&gt;&lt;P&gt;If you use personal access token authentication, Databricks recommends using personal access tokens belonging to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.databricks.com/en/administration-guide/users-groups/service-principals.html" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;service principals&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instead of workspace users. To create tokens for service principals, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.databricks.com/en/administration-guide/users-groups/service-principals.html#personal-access-tokens" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;Manage tokens for a service principal&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*************&lt;/P&gt;&lt;P&gt;Document Link -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/sql/admin/sql-execution-tutorial.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/sql/admin/sql-execution-tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 22:18:06 GMT</pubDate>
    <dc:creator>Sid1805</dc:creator>
    <dc:date>2024-02-06T22:18:06Z</dc:date>
    <item>
      <title>Azure Databricks SQL Execution API Authentication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/59524#M6748</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;If a cloud application wants to read some data from Databricks we realize that Azure Databricks can expose its Tables via REST API.&lt;/P&gt;&lt;P&gt;For its authentication what is the most recommended method - I see we can have PAT token tagged to a Service Principal seemingly most secure ?&lt;/P&gt;&lt;P&gt;Also in the documentation I am confused with the below statement - ( as Oauth is for authorization and not authentication ?? )&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;As a security best practice when you authenticate with automated tools, systems, scripts, and apps, Databricks recommends that you use OAuth tokens.&lt;/P&gt;&lt;P&gt;If you use personal access token authentication, Databricks recommends using personal access tokens belonging to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.databricks.com/en/administration-guide/users-groups/service-principals.html" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;service principals&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instead of workspace users. To create tokens for service principals, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://docs.databricks.com/en/administration-guide/users-groups/service-principals.html#personal-access-tokens" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;Manage tokens for a service principal&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*************&lt;/P&gt;&lt;P&gt;Document Link -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/sql/admin/sql-execution-tutorial.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/sql/admin/sql-execution-tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 22:18:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/59524#M6748</guid>
      <dc:creator>Sid1805</dc:creator>
      <dc:date>2024-02-06T22:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks SQL Execution API Authentication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/60336#M6750</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;- Thanks for your response.&lt;/P&gt;&lt;P&gt;For Azure Databricks my basic question is if the SQL REST API only supports PAT Tokens currently or it also supports Oauth as well ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 20:09:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/60336#M6750</guid>
      <dc:creator>Sid1805</dc:creator>
      <dc:date>2024-02-15T20:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks SQL Execution API Authentication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/63427#M6751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/56234"&gt;@Sid1805&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am in the same situation as you. I am looking for guidance how to setup the authentication for REST API to connect with Databricks SQL. I started with PAT and used&amp;nbsp; the user id as "token" and pwd as PAT Token to connect with Databricks SQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to change the authentication to Service Principals. I have setup the service principal and gave access to the databricks SQL. Now how do i configure the Application client ID and Secret in API/ Azure Kubernetes&amp;nbsp; Layer&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 19:12:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/azure-databricks-sql-execution-api-authentication/m-p/63427#M6751</guid>
      <dc:creator>Ramakrishnan83</dc:creator>
      <dc:date>2024-03-12T19:12:47Z</dc:date>
    </item>
  </channel>
</rss>

