'Shows details for a keypair that is associated with the account.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#show-keypair-details'

def show_keypair(self, keypair_name, **params):

    url = ('os-keypairs/%s' % keypair_name)
    if params:
        url += ('?%s' % urllib.urlencode(params))
    (resp, body) = self.get(url)
    body = json.loads(body)
    schema = self.get_schema(self.schema_versions_info)
    self.validate_response(schema.get_keypair, resp, body)
    return rest_client.ResponseBody(resp, body)
