Skip to main content

Import keypair

Import keypair commands begin with:

smctl keypair import

Flags

Import keypair commands support these flags:

Table 1. Flags for importing a keypair

Shortcut

Flag

Description

--der

.der format (default .pem)

-o

--offline

Import keypair in offline mode.

--account-id string

Account ID for the user. 

Format:

--account-id="<value>"

-h

--help

Help for importing a keypair.


Example

Description: Import the keypair with the specified alias in .pem format.

Command:

smctl keypair import <keypair alias> <path to private key file>

Command sample:

smctl keypair import keypair-dynamic-alias C:\Users\Name\Desktop\keypair.pem