### ----------------------------------------------------
### -- Sparrowdo::VSTS::YAML::Update::Azure::SSL
### -- Licenses: NOASSERTION
### -- Authors: Alexey Melezhik
### -- File: resources/create-cert.json
### ----------------------------------------------------
{
  "\$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "resources": [
    {
       "type":"Microsoft.Web/certificates",
       "name":"__thumbprint____South Central US_[% resource_group %]",
       "apiVersion":"2016-03-01",
       "location": "[resourceGroup().location]",
       "properties":{
          "keyVaultId": "[resourceId('Microsoft.KeyVault/vaults', '[% keyvault_name %]')]",
          "keyVaultSecretName": "[% cert_name %]"
       }
    }
  ]
}


