dynamic key vault

arkiboys 7,861 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,298 questions
No comments
{count} votes

Accepted answer
  1. Nandan Hegde 21,626 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

    No comments

0 additional answers

Sort by: Most helpful