CmdID

CmdID / aws / aws lightsail

aws lightsail delete-key-pair

Deletes the specified key pair by removing the public key from Amazon Lightsail. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--expected-fingerprintThe RSA fingerprint of the Lightsail default key pair to delete.
--key-pair-nameThe name of the key pair to delete.