'List Registered SSH Key Pairs
:param     projectid: list objects by project
:type      projectid: ``str``
:param     page: The page to list the keypairs from
:type      page: ``int``
:param     keyword: List by keyword
:type      keyword: ``str``
:param     listall: If set to false, list only resources
belonging to the command\'s caller;
if set to true - list resources that
the caller is authorized to see.
Default value is false
:type      listall: ``bool``
:param     pagesize: The number of results per page
:type      pagesize: ``int``
:param     account: List resources by account.
Must be used with the domainId parameter
:type      account: ``str``
:param     isrecursive: Defaults to false, but if true,
lists all resources from
the parent specified by the
domainId till leaves.
:type      isrecursive: ``bool``
:param     fingerprint: A public key fingerprint to look for
:type      fingerprint: ``str``
:param     name: A key pair name to look for
:type      name: ``str``
:param     domainid: List only resources belonging to
the domain specified
:type      domainid: ``str``
:return:   A list of keypair dictionaries
:rtype:   ``list`` of ``dict``'

def ex_list_keypairs(self, **kwargs):

    warnings.warn('This    method    has    been    deprecated    in    favor    of    list_key_pairs    method')
    key_pairs = self.list_key_pairs(**kwargs)
    result = []
    for key_pair in key_pairs:
        item = {'name': key_pair.name, 'fingerprint': key_pair.fingerprint, 'privateKey': key_pair.private_key}
        result.append(item)
    return result
