Cosmic Admin API Reference

listSSHKeyPairs

List registered keypairs

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
domainidlist only resources belonging to the domain specifiedfalse
fingerprintA public key fingerprint to look forfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf 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 falsefalse
nameA key pair name to look forfalse
pagefalse
pagesizefalse
projectidlist objects by projectfalse

Response Tags

Response NameDescription
accountthe owner of the keypair
domainthe domain name of the keypair owner
domainidthe domain id of the keypair owner
fingerprintFingerprint of the public key
nameName of the keypair