<?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: How do I use databricks-cli without manual configuration in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20552#M13878</link>
    <description>&lt;P&gt;You can set two environment variables: DATABRICKS_HOST and DATABRICKS_TOKEN, and databricks-cli will use them. See the &lt;A href="https://github.com/alexott/databricks-nutter-projects-demo/blob/master/azure-pipelines.yml#L66" alt="https://github.com/alexott/databricks-nutter-projects-demo/blob/master/azure-pipelines.yml#L66" target="_blank"&gt;example of that&lt;/A&gt; in the DevOps pipeline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the full list of environment variables at the end of the &lt;A href="https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication" alt="https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication" target="_blank"&gt;Authentication section&lt;/A&gt; of documentation&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 18:38:48 GMT</pubDate>
    <dc:creator>alexott</dc:creator>
    <dc:date>2021-11-25T18:38:48Z</dc:date>
    <item>
      <title>How do I use databricks-cli without manual configuration</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20550#M13876</link>
      <description>&lt;P&gt;I want to use databricks cli:&lt;/P&gt;&lt;P&gt;databricks clusters list&lt;/P&gt;&lt;P&gt;but this requires a manual step that requires interactive work with the user:&lt;/P&gt;&lt;P&gt;databricks configure --token&lt;/P&gt;&lt;P&gt;Is there a way to use databricks cli without manual intervention so that you can run it as part of a ci/cd pipeline?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 15:45:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20550#M13876</guid>
      <dc:creator>User16790091296</dc:creator>
      <dc:date>2021-06-24T15:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use databricks-cli without manual configuration</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20551#M13877</link>
      <description>&lt;P&gt;You can try configure the credential by editing file ~/.databrickscfg . &lt;/P&gt;&lt;P&gt;The file content will be like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;[DEFAULT]
host = [workspace url]
username = [email id]
password = [password]
&amp;nbsp;
[profile 1]
host = [workspace url]
token = {personal access token}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Once you have the file in place, you do not need to run `databricks configure --token ` . The databricks cli will automatically pick up the credentials from the file. &lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 17:15:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20551#M13877</guid>
      <dc:creator>User16752239289</dc:creator>
      <dc:date>2021-06-24T17:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use databricks-cli without manual configuration</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20552#M13878</link>
      <description>&lt;P&gt;You can set two environment variables: DATABRICKS_HOST and DATABRICKS_TOKEN, and databricks-cli will use them. See the &lt;A href="https://github.com/alexott/databricks-nutter-projects-demo/blob/master/azure-pipelines.yml#L66" alt="https://github.com/alexott/databricks-nutter-projects-demo/blob/master/azure-pipelines.yml#L66" target="_blank"&gt;example of that&lt;/A&gt; in the DevOps pipeline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the full list of environment variables at the end of the &lt;A href="https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication" alt="https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication" target="_blank"&gt;Authentication section&lt;/A&gt; of documentation&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 18:38:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/20552#M13878</guid>
      <dc:creator>alexott</dc:creator>
      <dc:date>2021-11-25T18:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use databricks-cli without manual configuration</title>
      <link>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/113130#M44432</link>
      <description>&lt;P&gt;And which environment variables do I have to set to use the cli with m2m oauth using Microsoft Entra ID managed service principals?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 11:08:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-do-i-use-databricks-cli-without-manual-configuration/m-p/113130#M44432</guid>
      <dc:creator>Chris2794</dc:creator>
      <dc:date>2025-03-20T11:08:46Z</dc:date>
    </item>
  </channel>
</rss>

