dynamic key vault

arkiboys 8,066 Reputation points
2021-11-27T09:44:22.947+00:00

Hello,
I have created a linkedservice to sql server where database and server names are passed into it via a parameter.
For the sql authentication part, I have manually entered the generic user account and typed the password manually.
This allows connection to sql server using the same login but (different server and database as they get passed as parameters)
Question:
I would like to put the login details into AKV.
How do I put the login details into AKV and yet be able to use the linkedservice with the parameters for the server and database name?
Thank you

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,715 questions
No comments
{count} votes

Accepted answer
  1. Nandan Hegde 22,211 Reputation points
    2021-11-29T03:13:46.293+00:00

    Hey,
    You can parameterize the values and have those values in key vault and either get them directly via LS key vault integration wherever possible or use web activity to get those values.

    https://www.delorabradish.com/azure/azure-data-factory-adfv2-parameterizing-linked-services-that-do-not-have-built-in-dynamic-content

    https://github.com/NandanHegde15/Azure-DataFactory-Generic-Pipelines/blob/main/Get%20Secret%20From%20KeyVault/Pipeline/GetSecretFromKeyVault.json

0 additional answers

Sort by: Newest