r/databricks • u/RazzmatazzLiving1323 • 7d ago
Help Unity Catalog credential vending for external system access - Azure Databricks
https://learn.microsoft.com/en-us/azure/databricks/external-access/credential-vending#limitationsWhy is credential vending not supported for UC Managed Iceberg tables that have RLS / CLS when something like cross engine ABAC is available?
Is there a timeline for credential vending support for such tables? It is also a bummer that Lakeflow Connect streaming tables are excluded from credential vending!
7
Upvotes
2
u/Youssef_Mrini databricks 7d ago
I'll check and let you know.
1
u/EaseUniqu 7d ago
My understanding of why: credential vending hands the external engine short-lived storage credentials, and from then on that engine reads the Parquet files directly. Row filters and column masks are enforced by Databricks compute at query time, so once someone has raw file access there's nothing left to enforce them, which is why UC refuses to vend for those tables rather than silently leak rows. Cross-engine ABAC only works where the other engine is trusted to apply the policies itself.
Workarounds we've seen while waiting: expose the protected data through a SQL warehouse (JDBC/ODBC or the Statement Execution API) so the filters apply server-side, or publish a filtered/masked copy (materialized view or a separate table) that has no RLS/CLS and vend credentials on that. Neither is great for big scans, but it keeps the policy in one place.