How to configure credential passthrough
Credential passthrough will allow you to authenticate ADLS Gen1 and ADLS Gen-2 using the same AAD login that is used to log into the Azure Databricks workspace. Credential passthrough helps you control what users can see in a container with the use of RBAC and ACLs. Credential passthrough removes the overhead of using multiple workspaces with different service principals that have different access to control the data that a user can see. It provides end-to-end security for the AAD users from Azure Databricks to ADLS Gen-2. If you want to control access to the AAD user based on the RBAC and ACL permissions that have been granted on ADLS, then you need to enable credential passthrough for the Azure Databricks cluster.
Getting ready
You must ensure you have the Azure Databricks premium plan to be able to use credential passthrough. For this recipe, we will be using ADLS Gen-2 with a hierarchical namespace.
We will also be using an AAD...