If I use listKeys() in a variable, I get the error:
The template function 'listKeys' is not expected at this location
for example:
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"variables": {
"storageAccountKey": "[listKeys(resourceId('Microsoft.Storage/storageAccounts/mystorageaccount)),'2015-06-15').key1]"
}
}
Can support for listKeys inside a variable be added?
If I use
listKeys()in a variable, I get the error:for example:
Can support for listKeys inside a variable be added?