Reputation: 1118
I have few azure data factory activities which require username and password to be passed to execute. I am trying to keep this username and password in azure key vault and want to use this in the ADF activity.
I tried an option as shown below. https://learn.microsoft.com/en-us/azure/data-factory/how-to-use-azure-key-vault-secrets-pipeline-activities
But here in the web activity we have to provide the keyvault url, which will be different in different environments. That will be again difficult for ci/cd deployment.
Any other ways we could get azure KV secrets in ADF pipeline task ?
Upvotes: 0
Views: 1290
Reputation: 545
First of all, to simplify the solution, define the url to Azure Key Vault as a global parameter.
Then, update that global parameter from Release pipeline (Azure DevOps) with appropriate URL per environment.
You can deploy ADF with one of two options, depends on your preferences.
For deployment check these (mine) resources:
#adftools
Two methods of deployment Azure Data Factory
Upvotes: 0