Skip to content

Instantly share code, notes, and snippets.

@davidobrien1985
Created May 15, 2019 12:18
Show Gist options
  • Save davidobrien1985/c37de170d12b1c969907994bc2322a12 to your computer and use it in GitHub Desktop.
Save davidobrien1985/c37de170d12b1c969907994bc2322a12 to your computer and use it in GitHub Desktop.
{
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2018-02-14",
"name": "[concat(parameters('productName'), '-kv')]",
"location": "[resourceGroup().location]",
"tags": "[parameters('tags')]",
"properties": {
"enabledForDeployment": true,
"enabledForTemplateDeployment": true,
"enabledForDiskEncryption": true,
"tenantId": "[parameters('aadTenantId')]",
"accessPolicies": [
{
"tenantId": "[parameters('aadTenantId')]",
"objectId": "[parameters('aadObjectId')]",
"permissions": {
"keys": [
"get",
"create",
"list"
],
"secrets": [
"list",
"get",
"set"
]
}
}
],
"sku": {
"name": "standard",
"family": "A"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment