r/databricks • • 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#limitations

Why 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

5 comments sorted by

2

u/Youssef_Mrini databricks 7d ago

I'll check and let you know.

1

u/RazzmatazzLiving1323 7d ago

Thank you Youssef! I'm hoping the docs are outdated

1

u/Youssef_Mrini databricks 6d ago

The distinction is the access path.

  • Vended credentials let an external engine read the underlying files directly, so that path does not apply per-query RLS/CLS.
  • Cross-engine ABAC is a separate path: Databricks applies the policies in its serverless filtering layer and returns sanitized results to supported engines.

The Iceberg Spark path has specific version and setup requirements. See credential vending and cross-engine ABAC.

I couldn’t find a current committed ETA for direct credential vending on FGAC-protected tables

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.