Skip to main content

Delete GPG keypair

Delete GPG keypair commands begin with:

smctl gpg keypair delete <gpg keypair alias or ID>

or

smctl gpg kp del <gpg keypair alias or ID>

Example 1:

Description: Delete keypair referred to by the GPG keypair alias.

Command:

smctl gpg keypair delete <keypair alias>

Command sample:

smctl gpg keypair delete my-gpg-keypair

Example 2:

Description: Delete keypair referred to by the GPG keypair ID.

Command:

smctl gpg keypair delete <keypair ID>

Command sample:

smctl gpg keypair delete aae21e7d-31e9-4cc0-89fa-63b323a64a56