-
Notifications
You must be signed in to change notification settings - Fork 0
/
arm-mg-addroledefinition.json
34 lines (34 loc) · 1.11 KB
/
arm-mg-addroledefinition.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"kvARMDeploymentOperatorRoleId": "[guid('customRole-kv-arm-deployment-operator')]"
},
"resources": [
{
"type": "Microsoft.Authorization/roleDefinitions",
"name": "[variables('kvARMDeploymentOperatorRoleId')]",
"apiVersion": "2017-05-01",
"dependsOn": [],
"properties": {
"roleName": "Key Vault resource manager template deployment operator",
"id": "[variables('kvARMDeploymentOperatorRoleId')]",
"IsCustom": true,
"description": "Lets you deploy a resource manager template with the access to the secrets in the Key Vault.",
"permissions": [
{
"actions": [
"Microsoft.KeyVault/vaults/deploy/action"
],
"notActions": []
}
],
"assignableScopes": [
"[subscription().id]",
"[concat('providers/Microsoft.Management/managementGroups/', subscription().tenantId)]"
]
}
}
]
}