<?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: Using Azure Key Vault secret to access Azure Storage in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/79006#M3429</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97896"&gt;@phguk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To make it work you need to assign role of Key Vault Secret User to built in databricks service principal. &lt;SPAN&gt;Key vault administrator role that you picked is about control plane in azure. (If you are interested in this topic type in Google azure control plane vs data plane).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To simplify things, just follow below video and it'll work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/NQv8a8MSVls" target="_blank" rel="noopener"&gt;https://youtu.be/NQv8a8MSVls&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2024 15:20:43 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-07-16T15:20:43Z</dc:date>
    <item>
      <title>Using Azure Key Vault secret to access Azure Storage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/78791#M3417</link>
      <description>&lt;P&gt;I am trying to configure access to Azure Storage Account (ADLS2) using OAUTH.&amp;nbsp; The doc&amp;nbsp;&lt;A href="https://docs.databricks.com/en/connect/storage/azure-storage.html#language-Azure%C2%A0service%C2%A0principal" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;gives an example of how to specify a secret in a cluster's spark configuration&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;{{secrets/&amp;lt;secret-scope&amp;gt;/&amp;lt;service-credential-key&amp;gt;}}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I can see how this works for secrets stored in a Databricks-backed key vault.&lt;/P&gt;&lt;P&gt;Instead however, &lt;STRONG&gt;I want to access/use a secret stored in an Azure key vault&lt;/STRONG&gt; which has its own url etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight &amp;amp; a working example is much appreciated. Thanks Paul&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 12:12:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/78791#M3417</guid>
      <dc:creator>phguk</dc:creator>
      <dc:date>2024-07-15T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using Azure Key Vault secret to access Azure Storage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/78804#M3419</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97896"&gt;@phguk&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can certainly used azure key vault secret scope in databricks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reference secrets stored in an Azure Key Vault, you can create a secret scope backed by Azure Key Vault. You can then leverage all of the secrets in the corresponding Key Vault instance from that secret scope.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To open Databricks secret visit the home page of your Databricks workspace and use url&amp;nbsp;https://&amp;lt;Databricks_url&amp;gt;#secrets/createScope&lt;/SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Below is the step by step guide how to do it:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/secrets/secret-scopes#--create-an-azure-key-vault-backed-secret-scope" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/security/secrets/secret-scopes#--create-an-azure-key-vault-backed-secret-scope&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 13:41:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/78804#M3419</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-07-15T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Azure Key Vault secret to access Azure Storage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/78997#M3428</link>
      <description>&lt;P&gt;Thanks for this link. I've followed its instructions but am stuck on the following. The doc instructs "Set Permission model to Vault access policy" but my org insists on RBAC.&amp;nbsp; Using a notebook in Databricks, I run the following which refers to a scope/key in Azure Key Vault and see&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%scala 
val blob_storage_account_access_key = dbutils.secrets.get(scope = "PGSCOPE3", key = "PGKEYA") &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;FONT color="#0000FF"&gt;"&lt;SPAN&gt;com.databricks.common.client.DatabricksServiceHttpClientException: PERMISSION_DENIED: Invalid permissions on the specified KeyVault"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;My userid has key vault administrator role so I'm wondering how I give Databricks access to the key vault ? Any further advice, gratefully received. Thanks Paul&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 14:33:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/78997#M3428</guid>
      <dc:creator>phguk</dc:creator>
      <dc:date>2024-07-16T14:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Azure Key Vault secret to access Azure Storage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/79006#M3429</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97896"&gt;@phguk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To make it work you need to assign role of Key Vault Secret User to built in databricks service principal. &lt;SPAN&gt;Key vault administrator role that you picked is about control plane in azure. (If you are interested in this topic type in Google azure control plane vs data plane).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To simplify things, just follow below video and it'll work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/NQv8a8MSVls" target="_blank" rel="noopener"&gt;https://youtu.be/NQv8a8MSVls&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:20:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/79006#M3429</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-07-16T15:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Azure Key Vault secret to access Azure Storage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/79194#M3437</link>
      <description>&lt;P&gt;Many thanks for the link to the useful video. I've now been able to successfully use an Azure Key Vault with Databricks. I have a couple of follow-on questions to pose, if I may:&lt;/P&gt;&lt;P&gt;1. My Azure admin is concerned that the requirement to give AzureDatabricks enterprise application&amp;nbsp;the role of &lt;EM&gt;Key Vault Secrets User&lt;/EM&gt; potentially allows &lt;STRONG&gt;any&lt;/STRONG&gt; Databricks workspace in the tenant to access my key vault.&amp;nbsp; This concern was echoed in a 2022 discussion &lt;A href="https://learn.microsoft.com/en-us/answers/questions/690162/allow-only-a-specific-azure-databricks-instance-to" target="_self"&gt;here&lt;/A&gt;. Is there an acknowledgement there's a need to provide better access granularity ?&lt;/P&gt;&lt;P&gt;2. Why is there no GUI access in Databricks to menu/dialog for managing scopes ? Sure it's not onerous to manually create the url adding #secrets/createScope but I am curious why there's no built-in link to this page ? Is this an attempt at &lt;EM&gt;security by obscurity&lt;/EM&gt; ?&lt;/P&gt;&lt;P&gt;Many thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 08:32:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/79194#M3437</guid>
      <dc:creator>phguk</dc:creator>
      <dc:date>2024-07-18T08:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Azure Key Vault secret to access Azure Storage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/114088#M4898</link>
      <description>&lt;P&gt;New doc link :&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/secrets/" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/security/secrets/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 14:19:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-azure-key-vault-secret-to-access-azure-storage/m-p/114088#M4898</guid>
      <dc:creator>bot_axel</dc:creator>
      <dc:date>2025-03-31T14:19:33Z</dc:date>
    </item>
  </channel>
</rss>

