Import Key Pair
POST {{aws_lightsail_base_url}}/?keyPairName&publicKeyBase64&Version=2016-11-28
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
keyPairName | null | The name of the key pair for which you want to import the public key. | |
publicKeyBase64 | null | A base64-encoded public key of the ssh-rsa type. | |
Version | string | The version of the API. |
Request Body
{"keyPairName"=>"string", "publicKeyBase64"=>"string"}