'List all the available SSH keys.
:return: Available SSH keys.
:rtype: ``list`` of :class:`.KeyPair` objects'

def list_key_pairs(self):

    data = self.connection.request('/ssh-keys').object['ssh_keys']
    return list(map(self._to_key_pairs, data))
