You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Syntax for the azcmagent genkey command line tool
4
+
author: rpsqrd
5
+
ms.author: ryanpu
6
+
ms.date: 04/20/2023
7
+
---
8
+
9
+
# azcmagent genkey
10
+
11
+
Generates a private-public key pair that can be used to onboard a machine asynchronously. This command is reserved for use by Azure Arc virtual machine offerings and is not intended to be directly called by users.
12
+
13
+
## Usage
14
+
15
+
```
16
+
azcmagent genkey [flags]
17
+
```
18
+
19
+
## Examples
20
+
21
+
Generate a key pair and print the public key to the console.
description: Syntax for the azcmagent help command line tool
4
+
author: rpsqrd
5
+
ms.author: ryanpu
6
+
ms.date: 04/20/2023
7
+
---
8
+
9
+
# azcmagent help
10
+
11
+
Prints usage information and a list of all available commands for the Azure Connected Machine agent CLI. For help with a particular command, use `azcmagent COMMANDNAME --help`.
12
+
13
+
## Usage
14
+
15
+
```
16
+
azcmagent help [flags]
17
+
```
18
+
19
+
## Examples
20
+
21
+
Show all available commands for the command line interface
0 commit comments