|
2 | 2 | title: CredentialsCombo UI element
|
3 | 3 | description: Describes the Microsoft.Compute.CredentialsCombo UI element for Azure portal.
|
4 | 4 | author: davidsmatlak
|
5 |
| - |
6 |
| -ms.topic: conceptual |
7 |
| -ms.date: 09/29/2018 |
8 | 5 | ms.author: davidsmatlak
|
9 |
| - |
| 6 | +ms.topic: conceptual |
| 7 | +ms.date: 07/18/2022 |
10 | 8 | ---
|
| 9 | + |
11 | 10 | # Microsoft.Compute.CredentialsCombo UI element
|
12 | 11 |
|
13 |
| -A group of controls with built-in validation for Windows and Linux passwords and SSH public keys. |
| 12 | +A group of controls with built-in validation for Windows passwords, and Linux passwords or SSH public keys. |
14 | 13 |
|
15 | 14 | ## UI sample
|
16 | 15 |
|
17 | 16 | For Windows, users see:
|
18 | 17 |
|
19 |
| - |
| 18 | +:::image type="content" source="./media/managed-application-elements/microsoft-compute-credentialscombo-windows.png" alt-text="Screenshot of the credentials combo user-interface element for a Windows password."::: |
20 | 19 |
|
21 | 20 | For Linux with password selected, users see:
|
22 | 21 |
|
23 |
| - |
| 22 | +:::image type="content" source="./media/managed-application-elements/microsoft-compute-credentialscombo-linux-password.png" alt-text="Screenshot of the credentials combo user-interface element for a Linux password."::: |
24 | 23 |
|
25 | 24 | For Linux with SSH public key selected, users see:
|
26 | 25 |
|
27 |
| - |
| 26 | +:::image type="content" source="./media/managed-application-elements/microsoft-compute-credentialscombo-linux-key.png" alt-text="Screenshot of the credentials combo user-interface element for a Linux SSH public key."::: |
28 | 27 |
|
29 | 28 | ## Schema
|
30 | 29 |
|
@@ -111,7 +110,7 @@ If `osPlatform` is **Linux** and the user provided an SSH public key, the contro
|
111 | 110 | - If `constraints.required` is set to **true**, then the password or SSH public key text boxes must have values to validate successfully. The default value is **true**.
|
112 | 111 | - If `options.hideConfirmation` is set to **true**, then the second text box for confirming the user's password is hidden. The default value is **false**.
|
113 | 112 | - If `options.hidePassword` is set to **true**, then the option to use password authentication is hidden. It can be used only when `osPlatform` is **Linux**. The default value is **false**.
|
114 |
| -- Additional constraints on the allowed passwords can be implemented by using the `customPasswordRegex` property. The string in `customValidationMessage` is displayed when a password fails custom validation. The default value for both properties is **null**. |
| 113 | +- More constraints on the allowed passwords can be implemented by using the `customPasswordRegex` property. The string in `customValidationMessage` is displayed when a password fails custom validation. The default value for both properties is **null**. The schema shows an example of each property. |
115 | 114 |
|
116 | 115 | ## Next steps
|
117 | 116 |
|
|
0 commit comments