concept linkedservice in category azure

appears as: linkedservices, linkedservice, linkedservices, The linkedservice, linkedservice
Azure Storage, Streaming, and Batch Analytics: A guide for data engineers

This is an excerpt from Manning's book Azure Storage, Streaming, and Batch Analytics: A guide for data engineers.

Linkedservices store the authentication method in their definition files. This includes usernames, passwords, and secret keys if provided. AKV forms a critical point in the authentication chain by securely storing these secrets. Because ADF can use Git version control, you could accidentally make the secrets in your definition files available to unauthorized parties. Using an AKV service prevents this by storing the secret, and provides it to the IR when needed. The secret can be a password, an API key, or any other string. Figure 10.3 shows this process in action.

Figure 10.3. Data Factory secret key authentication
.Data Factory

Secrets in AKV can also be used with linkedservices using service principals. With the AKV, you can store the secret name in the JSON configuration file and allow the IR to retrieve it directly from AKV. Azure services authorize the service principal to access the service and perform actions. Figure 10.4 shows this process in action.

As you recall from chapter 9, you created a top-level folder structure to hold code artifacts. This included folders for .NET assemblies and U-SQL scripts. Because moving data into and out of ADLS is a central part of this analytics system, having a linkedservice in ADF is critical. In fact, you have already seen how to create the ADLS earlier in the chapter. If you haven’t created the ADLS linkedservice already, refer to the instructions in the section “Creating an ADLS service” to create one now.