I have a Azure Storage linked Service which breaks if any artifact is promoted from dev to production . The authentication tab gets reset to Account key and the details of the sas uri and sas creds are wiped off .
The idea is that i am creating a generic linked service which takes in the params of sas uri and sas token .
Code as below :
{
"name": "AzureBlobStorageLinkedService",
"properties": {
"type": "AzureBlobStorage",
"parameters": {
"blobsasurl": {
"type": "string"
},
"blobsastoken": {
"type": "string"
}
},
"typeProperties": {
"sasUri": {
"type": "Expression",
"value": "@linkedService().blobsasurl"
},
"sasToken": {
"type": "AzureKeyVaultSecret",
"store": {
"referenceName": "XXXXXXXXXX",
"type": "LinkedServiceReference"
},
"secretName": {
"value": "@linkedService().blobsastoken",
"type": "Expression"
}
}
}
}
}
Something as below :