Import Key Pair

POST {{aws_lightsail_base_url}}/?keyPairName&publicKeyBase64&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
keyPairNamenullThe name of the key pair for which you want to import the public key.
publicKeyBase64nullA base64-encoded public key of the ssh-rsa type.
VersionstringThe version of the API.

Request Body

{"keyPairName"=>"string", "publicKeyBase64"=>"string"}