I'm creating a simple ARM template to create a VM. For the "adminPassword" I'm using KeyVault (already configurated and with all the permissions in place). Here there is the relevant part of the code:
"adminPassword":{
"reference":{
"keyVault":{
"id":"/subscriptions/d68628be-2a30-5d26-94c2-3d0145fb8e3e/resourceGroups/armtemplate/providers/Microsoft.KeyVault/vaults/keyvaultfortemplate"
},
"secretName":"vmpassword"
}
}
Finally when I'm ready to start the deployment, I see it didn't get the "secret".
Click here to see the empty password field on the portal
Seems it couldn't retrive it from the KeyVault. Any idea? Thanks