-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublicKeys.json
More file actions
35 lines (35 loc) · 1.04 KB
/
publicKeys.json
File metadata and controls
35 lines (35 loc) · 1.04 KB
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
35
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "2017.09.01.0",
"parameters": {
"path": {
"type": "string",
"metadata": {
"description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file."
}
},
"keyData": {
"type": "string",
"metadata": {
"description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format."
}
}
},
"variables": {
"comments": {
"definition": "https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/virtualmachines-create-or-update#bk_publicKeys"
},
"publicKeys": {
"path": "[parameters('path')]",
"keyData": "[parameters('keyData')]"
}
},
"resources": [
],
"outputs": {
"publicKeys": {
"type": "object",
"value": "[variables('publicKeys')]"
}
}
}