1. dbmanagedidentity is the Workspace-Managed Identity (WMI) that Databricks automatically creates when your workspace is deployed (in Azure).
It is the identity used by compute resources such as:
Jobs compute
All-purpose clusters
SQL warehouses
Model serving endpoints
You can assign Azure roles (RBAC) to itโfor example:
Storage Blob Data Reader/Contributor on a container
Cosmos DB RBAC roles
Key Vault Secrets User
Event Hub Data Sender
Think of it as:
โก๏ธโIdentity used by Databricks compute to access external Azure services.โ
dbmanagedidentity (Workspace-Managed Identity)
This is the identity that the Databricks workspace and compute clusters use when they make outbound calls to Azure services.
Automatically created with workspace
Bound to the workspaceโs compute plane
Used by clusters, jobs, SQL warehouses, and model serving
Works with all Azure services that support Managed Identity
Access is controlled via Azure RBAC, not Unity Catalog
No connection to UC lineage/governance
Best for:
๐ธCalling Azure services from code (Cosmos DB, Key Vault, Event Hub)
๐ธDirect Blob/ADLS access via Spark or SDKs
๐ธAny resource not governed by Unity Catalog
2. This is a Unity Catalog object created by an admin:
CREATE STORAGE CREDENTIAL my_cred
IDENTITY 'abcd-1234...' -- resource ID of a user-assigned managed identity
WITH PURPOSE 'MANAGED';
It points to a User-Assigned Managed Identity (UAMI) you control.
This credential is then attached to:
External locations
External tables
Volumes
Lakehouse Federation (in some cases)
Think of it as:
โก๏ธโIdentity used by Unity Catalog to govern storage access.โ
Unity Catalog Storage Credential (UAMI-based)
A Unity Catalog object that references a User-Assigned Managed Identity (UAMI).
Used only to access storage (Blob / ADLS)
Tied to external locations, volumes, external tables
Governs data access through Unity Catalog permissions
Not used by clusters to call APIs
Provides lineage, audit, and fine-grained privilege control
Can be shared across multiple workspaces
Best for:
๐ธExternal tables in UC
๐ธExternal volumes
๐ธData governance and lineage
๐ธShared storage access across dev/test/prod workspaces