-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathKeyVaultSecret.json
34 lines (33 loc) · 966 Bytes
/
KeyVaultSecret.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/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vaultName": {
"type": "String"
},
"secretName": {
"type": "string"
},
"certificate": {
"type": "string"
},
"resourceTag":{"type": "string"}
},
"variables": {
},
"resources": [
{
"type": "Microsoft.KeyVault/vaults/certificates",
"apiVersion": "2016-10-01",
"name": "[concat(parameters('vaultName'), '/', parameters('secretName'))]",
"tags":{"Quality":"[parameters('resourceTag')]"},
"location": "[resourceGroup().location]",
"dependsOn": [
],
"properties": {
"contentType": "application/x-pkcs12",
"value": "[parameters('certificate')]"
}
}
]
}