I am trying to leverage Azure Key Vault to secure password for service account that moves data from on-prem SQL server to Azure Data Lake via Azure Data Factory.
I first created the Linked Service and hard coded the credentials. It works.
However, I want to store the service account secret (i.e. password) within Key Value, and according to the following post, I added the Azure Key Vault Liked Service and referenced credentials stored in key value.
Under Advance within the Linked Service, see image #1, Iadded the following JSON:
{
"name": "LinkedService",
"properties": {
"type": "SqlServer",
"typeProperties": {
"username": "<domain>\<account name>",
"password": {
"type": "AzureKeyVaultSecret",
"secretName": "<service account name>",
"store":{
"referenceName": "https://<name>.vault.azure.net/",
"type": "LinkedServiceReference"
}
}
},
"connectVia": {
"referenceName": "IRMYService",
"type": "IntegrationRuntimeReference"
}
}
}
However, when I look at the final JSON within Linked Service, it doesn't appear correct (refer to final image below). Why is username and credentials showing up?