Hello Vineeth Kalangi,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having issues to parameterize your linked services with Azure Data Factory (ADF) and secret name for Azure Key Vault.
When creating a linked service in ADF that connects to an Azure Key Vault, you can specify the secret name, and this secret name will correspond to the secret you want to retrieve from the Key Vault. So, since you're able to change other values from the parameter file, but not the secret name you will have to do the followings in resolving this issue. In your ARM template, the secret name should be specified within the properties
section of the linked service definition:
{
"type": "Microsoft.DataFactory/factories/linkedservices",
"apiVersion": "2018-06-01",
"name": "[concat(parameters('factoryName'), '/AzureKeyVaultLinkedService')]",
"properties": {
"type": "AzureKeyVault",
"typeProperties": {
"baseUrl": "https://your-keyvault-name.vault.azure.net/",
"authenticationType": "ManagedServiceIdentity",
"secretName": "your-secret-name" // Specify your actual secret name here
}
}
}
If you need more detailed about referencing secrets in ARM check this links: https://learn.microsoft.com/en-us/azure/data-factory/store-credentials-in-key-vault and https://www.youtube.com/watch?v=SmRbC23Ft9I
Also, use the additional resources available by the right side of this page.
Accept Answer
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam