Skip to content

Instantly share code, notes, and snippets.

@CoditCompany
Last active November 30, 2018 16:03
Show Gist options
  • Save CoditCompany/60de30bc335cf8f24cb320e25d366c4f to your computer and use it in GitHub Desktop.
Save CoditCompany/60de30bc335cf8f24cb320e25d366c4f to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"accessPolicies": {
"defaultValue": { "list": [] },
"type": "object"
}
},
"variables": {
"keyVaultName": "mytest-keyVault"
},
"resources": [
{
"apiVersion": "2016-10-01",
"location": "[resourceGroup().location]",
"name": "[variables('keyVaultName')]",
"properties": {
"enabledForDeployment": false,
"enabledForDiskEncryption": false,
"enabledForTemplateDeployment": true,
"tenantId": "[subscription().tenantId]",
"accessPolicies": "[parameters('accessPolicies').list]",
"sku": {
"name": "standard",
"family": "A"
}
},
"tags": {
"displayName": "Key Vault"
},
"type": "Microsoft.KeyVault/vaults"
}
],
"outputs": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment