CmdID

CmdID / aws / aws lightsail

aws lightsail import-key-pair

Imports a public SSH key from a specific key pair. 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
--key-pair-nameThe name of the key pair for which you want to import the public key.
--public-key-base64A base64-encoded public key of the ssh-rsa type.