Skip to main content

Standard keypair commands

This section covers commands that you use in SMCTL to manage keypairs. These commands are: describe, generate, list, import, suspend, unsuspend, update, update access, manage keypair profiles, and generate certificate with keypair. Use flags to specify command parameters.

Commands

To view keypair commands, run:

smctl keypair --help

or

smctl kp -h

Subcommands

Keypair commands begin with:

smctl keypair <subcommand>

The keypair commands support these flags:

tabla 1. Subcommands for managing keypairs

Shortcut

Subcommand

Description

desc

describe

Describe a keypair.

gen

generate

Generate a keypair.

gen-cert

generate-cert

Generate a certificate for an existing keypair.

ls

list

List keypairs.

import

Import a keypair.

profiles

List or describe a keypair profile.

refreshRefresh keypair

Refresh a dynamic keypair and the default certificate (if one exists).

rotateRotate keypair

Rotate the keypair for the provided key rotation.

suspend

Set keypair status to offline.

unsuspend

Set keypair status to online.

update

Update a keypair.

update-access

Updates access to a keypair.

-h

--help

Help for managing keypairs.