<?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: Azure Databricks Default Package Repository with Azure Key Vault-backed Secret Scope in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/azure-databricks-default-package-repository-with-azure-key-vault/m-p/165329#M5508</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196961"&gt;@kfadratek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, an Azure Key Vault (AKV) backed scope will work, but Databricks has to resolve it automatically in the background.&lt;/P&gt;&lt;P&gt;The UI is built to &lt;I&gt;write&lt;/I&gt; secrets. Since AKV scopes are read-only from the Databricks side, the UI won't let you map or manage it.&lt;/P&gt;&lt;P&gt;If you already created the AKV scope named exactly databricks-package-management and added the correct keys (like pip-index-url), the issue is likely just missing permissions.&lt;/P&gt;&lt;P&gt;Try these two steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Grant Databricks users read access:&lt;/STRONG&gt; The cluster needs permission to read the scope when it boots up. Run this via the Databricks CLI:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Bash&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;databricks secrets put-acl databricks-package-management users READ&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check Azure permissions:&lt;/STRONG&gt; Ensure the managed identity or service principal running your cluster actually has "Get" and "List" access directly inside the Azure Key Vault's access policies/RBAC.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Run that CLI command, restart your cluster, and it should automatically pick up the packages!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 11 Aug 2026 09:54:58 GMT</pubDate>
    <dc:creator>ShamenParis</dc:creator>
    <dc:date>2026-08-11T09:54:58Z</dc:date>
    <item>
      <title>Azure Databricks Default Package Repository with Azure Key Vault-backed Secret Scope</title>
      <link>https://community.databricks.com/t5/administration-architecture/azure-databricks-default-package-repository-with-azure-key-vault/m-p/165320#M5507</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’m trying to configure Default Python Package Repository in an Azure Databricks workspace and would like to clarify whether the predefined secret scope can be backed by Azure Key Vault.&lt;/P&gt;&lt;P&gt;According to the documentation, Default Package Repository can use the predefined secret scope:&lt;/P&gt;&lt;P&gt;databricks-package-management&lt;/P&gt;&lt;P&gt;with the following keys:&lt;/P&gt;&lt;P&gt;pip-index-url&lt;BR /&gt;pip-extra-index-urls&lt;BR /&gt;pip-cert&lt;/P&gt;&lt;P&gt;The documentation shows an example using:&lt;/P&gt;&lt;P&gt;databricks secrets create-scope databricks-package-management followed by put-secret commands.&lt;/P&gt;&lt;P&gt;However, I cannot find an explicit statement saying that databricks-package-management must be a Databricks-backed secret scope.&lt;/P&gt;&lt;P&gt;The documentation also describes two types of secret scopes, including Azure Key Vault-backed scopes. An Azure Key Vault-backed scope is read-only from the Databricks side, so the secrets would be created directly in Azure Key Vault rather than using databricks secrets put-secret.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Has anyone successfully configured Default Package Repository using databricks-package-management as an Azure Key Vault-backed secret scope?&lt;/P&gt;&lt;P&gt;I have already tested this configuration. The Key Vault-backed scope exists and contains pip-index-url, and Databricks can read the secret through the scope.&lt;/P&gt;&lt;P&gt;However, I cannot specify the secret scope in the Default Package Repositories UI, and I would like to understand whether Databricks automatically resolves the predefined databricks-package-management scope or whether this functionality specifically requires a Databricks-backed scope.&lt;/P&gt;&lt;P&gt;Has anyone tested this configuration and got it working?&lt;/P&gt;&lt;P&gt;Alternatively, does anyone have official information or a technical reference confirming that databricks-package-management must use a Databricks-backed scope and cannot use an Azure Key Vault-backed scope?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2026 08:19:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/azure-databricks-default-package-repository-with-azure-key-vault/m-p/165320#M5507</guid>
      <dc:creator>kfadratek</dc:creator>
      <dc:date>2026-08-11T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Default Package Repository with Azure Key Vault-backed Secret Scope</title>
      <link>https://community.databricks.com/t5/administration-architecture/azure-databricks-default-package-repository-with-azure-key-vault/m-p/165329#M5508</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/196961"&gt;@kfadratek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, an Azure Key Vault (AKV) backed scope will work, but Databricks has to resolve it automatically in the background.&lt;/P&gt;&lt;P&gt;The UI is built to &lt;I&gt;write&lt;/I&gt; secrets. Since AKV scopes are read-only from the Databricks side, the UI won't let you map or manage it.&lt;/P&gt;&lt;P&gt;If you already created the AKV scope named exactly databricks-package-management and added the correct keys (like pip-index-url), the issue is likely just missing permissions.&lt;/P&gt;&lt;P&gt;Try these two steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Grant Databricks users read access:&lt;/STRONG&gt; The cluster needs permission to read the scope when it boots up. Run this via the Databricks CLI:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Bash&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;databricks secrets put-acl databricks-package-management users READ&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check Azure permissions:&lt;/STRONG&gt; Ensure the managed identity or service principal running your cluster actually has "Get" and "List" access directly inside the Azure Key Vault's access policies/RBAC.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Run that CLI command, restart your cluster, and it should automatically pick up the packages!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Aug 2026 09:54:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/azure-databricks-default-package-repository-with-azure-key-vault/m-p/165329#M5508</guid>
      <dc:creator>ShamenParis</dc:creator>
      <dc:date>2026-08-11T09:54:58Z</dc:date>
    </item>
  </channel>
</rss>

