Create Key Pair

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

Request Params

KeyDatatypeRequiredDescription
keyPairNamenullThe name for your new key pair.
tagsnullThe tag keys and optional values to add to the resource during create.
VersionstringThe version of the API.

Request Body

{"keyPairName"=>"string", "tags"=>[{"key"=>"string", "value"=>"string"}]}