CmdID / aws / aws lightsail
aws lightsail get-key-pairs
Returns information about all key pairs in the user's account. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--include-default-key-pairA Boolean value that indicates whether to include the default key pair in the response of your request.--page-tokenThe token to advance to the next page of results from your request.