<?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: What's the difference between dbmanagedidentity and a storage credential based on managed identi in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141710#M51802</link>
    <description>&lt;P&gt;use dbmanageidentity for&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;non‑storage Azure services&lt;/STRONG&gt;, such as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Cosmos DB,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Azure SQL,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Event Hub, Key vault.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Dec 2025 23:22:05 GMT</pubDate>
    <dc:creator>Raman_Unifeye</dc:creator>
    <dc:date>2025-12-11T23:22:05Z</dc:date>
    <item>
      <title>What's the difference between dbmanagedidentity and a storage credential based on managed identity?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141688#M51790</link>
      <description>&lt;P&gt;I’m looking for guidance on the differences between:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;dbmanagedidentity (the workspace-managed identity), and&lt;/LI&gt;&lt;LI&gt;Unity Catalog storage credentials based on Azure Managed Identity&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Specifically, I’d like to understand:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What are the key differences between these two approaches?&lt;/LI&gt;&lt;LI&gt;In which scenarios should we use one versus the other—for example, when accessing an Azure Blob container or when querying Cosmos DB from a Databricks notebook?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 11 Dec 2025 16:23:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141688#M51790</guid>
      <dc:creator>lucami</dc:creator>
      <dc:date>2025-12-11T16:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between dbmanagedidentity and a storage credential based on managed identi</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141692#M51791</link>
      <description>&lt;P&gt;1. dbmanagedidentity is the Workspace-Managed Identity (WMI) that Databricks automatically creates when your workspace is deployed (in Azure).&lt;/P&gt;&lt;P&gt;It is the identity used by compute resources such as:&lt;/P&gt;&lt;P&gt;Jobs compute&lt;/P&gt;&lt;P&gt;All-purpose clusters&lt;/P&gt;&lt;P&gt;SQL warehouses&lt;/P&gt;&lt;P&gt;Model serving endpoints&lt;/P&gt;&lt;P&gt;You can assign Azure roles (RBAC) to it—for example:&lt;/P&gt;&lt;P&gt;Storage Blob Data Reader/Contributor on a container&lt;/P&gt;&lt;P&gt;Cosmos DB RBAC roles&lt;/P&gt;&lt;P&gt;Key Vault Secrets User&lt;/P&gt;&lt;P&gt;Event Hub Data Sender&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Think of it as:&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":right_arrow:"&gt;➡️&lt;/span&gt;&lt;STRONG&gt;“Identity used by Databricks compute to access external Azure services.”&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;dbmanagedidentity (Workspace-Managed Identity)&lt;/P&gt;&lt;P&gt;This is the identity that the Databricks workspace and compute clusters use when they make outbound calls to Azure services.&lt;/P&gt;&lt;P&gt;Automatically created with workspace&lt;/P&gt;&lt;P&gt;Bound to the workspace’s compute plane&lt;/P&gt;&lt;P&gt;Used by clusters, jobs, SQL warehouses, and model serving&lt;/P&gt;&lt;P&gt;Works with all Azure services that support Managed Identity&lt;/P&gt;&lt;P&gt;Access is controlled via Azure RBAC, not Unity Catalog&lt;/P&gt;&lt;P&gt;No connection to UC lineage/governance&lt;/P&gt;&lt;P&gt;Best for:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;Calling Azure services from code (Cosmos DB, Key Vault, Event Hub)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;Direct Blob/ADLS access via Spark or SDKs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;Any resource not governed by Unity Catalog&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;This is a Unity Catalog object created by an admin:&lt;/P&gt;&lt;P&gt;CREATE STORAGE CREDENTIAL my_cred&lt;/P&gt;&lt;P&gt;IDENTITY 'abcd-1234...' -- resource ID of a user-assigned managed identity&lt;/P&gt;&lt;P&gt;WITH PURPOSE 'MANAGED';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It points to a User-Assigned Managed Identity (UAMI) you control.&lt;/P&gt;&lt;P&gt;This credential is then attached to:&lt;/P&gt;&lt;P&gt;External locations&lt;/P&gt;&lt;P&gt;External tables&lt;/P&gt;&lt;P&gt;Volumes&lt;/P&gt;&lt;P&gt;Lakehouse Federation (in some cases)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Think of it as:&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":right_arrow:"&gt;➡️&lt;/span&gt;&lt;STRONG&gt;“Identity used by Unity Catalog to govern storage access.”&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unity Catalog Storage Credential (UAMI-based)&lt;/P&gt;&lt;P&gt;A Unity Catalog object that references a User-Assigned Managed Identity (UAMI).&lt;/P&gt;&lt;P&gt;Used only to access storage (Blob / ADLS)&lt;/P&gt;&lt;P&gt;Tied to external locations, volumes, external tables&lt;/P&gt;&lt;P&gt;Governs data access through Unity Catalog permissions&lt;/P&gt;&lt;P&gt;Not used by clusters to call APIs&lt;/P&gt;&lt;P&gt;Provides lineage, audit, and fine-grained privilege control&lt;/P&gt;&lt;P&gt;Can be shared across multiple workspaces&lt;/P&gt;&lt;P&gt;Best for:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;External tables in UC&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;External volumes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;Data governance and lineage&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt;Shared storage access across dev/test/prod workspaces&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 16:57:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141692#M51791</guid>
      <dc:creator>Poorva21</dc:creator>
      <dc:date>2025-12-11T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between dbmanagedidentity and a storage credential based on managed identi</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141708#M51800</link>
      <description>&lt;P&gt;Avoid dbmanagedidentity&amp;nbsp;for Data Access.&amp;nbsp;It should be strictly limited to infrastructure tasks (like writing cluster logs) and not used for data access in a UC-enabled environment.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 23:16:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141708#M51800</guid>
      <dc:creator>Raman_Unifeye</dc:creator>
      <dc:date>2025-12-11T23:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between dbmanagedidentity and a storage credential based on managed identi</title>
      <link>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141710#M51802</link>
      <description>&lt;P&gt;use dbmanageidentity for&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;non‑storage Azure services&lt;/STRONG&gt;, such as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Cosmos DB,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Azure SQL,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Event Hub, Key vault.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 23:22:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-s-the-difference-between-dbmanagedidentity-and-a-storage/m-p/141710#M51802</guid>
      <dc:creator>Raman_Unifeye</dc:creator>
      <dc:date>2025-12-11T23:22:05Z</dc:date>
    </item>
  </channel>
</rss>

