Skip to content

Commit 77bce9c

Browse files
committed
adminPassword of VM/VMSS should be x-ms-secret
1 parent f68e478 commit 77bce9c

18 files changed

+8
-27
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/compute.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13007,7 +13007,8 @@
1300713007
},
1300813008
"adminPassword": {
1300913009
"type": "string",
13010-
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
13010+
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
13011+
"x-ms-secret": true
1301113012
},
1301213013
"customData": {
1301313014
"type": "string",
@@ -14378,7 +14379,8 @@
1437814379
},
1437914380
"adminPassword": {
1438014381
"type": "string",
14381-
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
14382+
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
14383+
"x-ms-secret": true
1438214384
},
1438314385
"customData": {
1438414386
"type": "string",

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/RestorePointCollections_Update_MaximumSet_Gen.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"osProfile": {
9797
"computerName": "computerName",
9898
"adminUsername": "admin",
99-
"adminPassword": "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
10099
"customData": "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
101100
"windowsConfiguration": {
102101
"provisionVMAgent": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachineScaleSetVMs_List_MaximumSet_Gen.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@
219219
"secrets": [],
220220
"allowExtensionOperations": true,
221221
"requireGuestProvisionSignal": true,
222-
"adminPassword": "aaaaaaaaaaaaaaaa",
223222
"customData": "aaaa",
224223
"linuxConfiguration": {
225224
"disablePasswordAuthentication": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachineScaleSetVMs_Update_MaximumSet_Gen.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@
554554
"secrets": [],
555555
"allowExtensionOperations": true,
556556
"requireGuestProvisionSignal": true,
557-
"adminPassword": "aaaaaaaaaaaaaaaa",
558557
"customData": "aaaa",
559558
"linuxConfiguration": {
560559
"disablePasswordAuthentication": true,
@@ -1087,7 +1086,6 @@
10871086
"secrets": [],
10881087
"allowExtensionOperations": true,
10891088
"requireGuestProvisionSignal": true,
1090-
"adminPassword": "aaaaaaaaaaaaaaaa",
10911089
"customData": "aaaa",
10921090
"linuxConfiguration": {
10931091
"disablePasswordAuthentication": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachineScaleSets_ListAll_MaximumSet_Gen.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"osProfile": {
7474
"computerNamePrefix": "{vmss-name}",
7575
"adminUsername": "{your-username}",
76-
"adminPassword": "{your-password}",
7776
"customData": "aaaaaaaaaaaaaaaaaaaaaaaaaa",
7877
"windowsConfiguration": {
7978
"provisionVMAgent": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachineScaleSets_List_MaximumSet_Gen.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
"assessmentMode": "ImageDefault"
9393
}
9494
},
95-
"adminPassword": "aaaaaaaaaaaaaaaaaaaaaa",
9695
"customData": "aaaaaaaaaaaaaaaaaa",
9796
"windowsConfiguration": {
9897
"provisionVMAgent": true,
@@ -427,7 +426,6 @@
427426
"assessmentMode": "ImageDefault"
428427
}
429428
},
430-
"adminPassword": "{your-password}",
431429
"customData": "a",
432430
"windowsConfiguration": {
433431
"provisionVMAgent": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachineScaleSets_Update_MaximumSet_Gen.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@
352352
"osProfile": {
353353
"computerNamePrefix": "{vmss-name}",
354354
"adminUsername": "{your-username}",
355-
"adminPassword": "{your-password}",
356355
"customData": "aaaaaaaaaaaaaaaaaaaaaaaaaa",
357356
"windowsConfiguration": {
358357
"provisionVMAgent": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachines_ListAll_MaximumSet_Gen.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
},
114114
"secrets": [],
115115
"allowExtensionOperations": true,
116-
"adminPassword": "{aaaaaaaaaaaaa}",
117116
"customData": "aaaa",
118117
"linuxConfiguration": {
119118
"disablePasswordAuthentication": true,
@@ -657,7 +656,6 @@
657656
},
658657
"secrets": [],
659658
"allowExtensionOperations": true,
660-
"adminPassword": "{aaaaaaaaaaaaa}",
661659
"customData": "aaaaaaaaaaaaaaaaaaaaaaa",
662660
"linuxConfiguration": {
663661
"disablePasswordAuthentication": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2021-11-01/examples/compute/VirtualMachines_List_MaximumSet_Gen.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
},
114114
"secrets": [],
115115
"allowExtensionOperations": true,
116-
"adminPassword": "{aaaaaaaaaaaaa}",
117116
"customData": "aaaa",
118117
"linuxConfiguration": {
119118
"disablePasswordAuthentication": true,
@@ -657,7 +656,6 @@
657656
},
658657
"secrets": [],
659658
"allowExtensionOperations": true,
660-
"adminPassword": "{aaaaaaaaaaaaa}",
661659
"customData": "aaaaaaaaaaaaaaaaaaaaaaa",
662660
"linuxConfiguration": {
663661
"disablePasswordAuthentication": true,

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/computeRPCommon.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,8 @@
13611361
},
13621362
"adminPassword": {
13631363
"type": "string",
1364-
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
1364+
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)",
1365+
"x-ms-secret": true
13651366
},
13661367
"customData": {
13671368
"type": "string",

0 commit comments

Comments
 (0)