'List registered key pairs.
:return:   A list of key par objects.
:rtype:   ``list`` of :class:`libcloud.compute.base.KeyPair`'

def list_key_pairs(self):

    kps = self.connection.request('hosting.ssh.list').object
    return self._to_key_pairs(kps)
