Handling security
When you access the data lake storage that was configured during the setting up of the Synapse workspace, you don't need to worry about using the TokenLibrary. The Spark instance will use an Azure Active Directory credential pass-through to access the data in the data lake. This makes it easy for you to integrate your environment and set up detailed control as described in Chapter 3, Understanding the Data Lake Storage Layer. You have been using this throughout this chapter to access your data lake:
There are other options when it comes to accessing Azure Data Lake Storage Gen2. You might have additional Azure Data Lake Storage Gen2 accounts that you have added as linked services to your Synapse workspace. In this case, you have several authentication options when it comes to using the storage:
- If a linked service uses a storage account key, you will need to create...