Apache CloudStack v4.6.0 Domain Admin API Reference


Register a public key in a keypair under a certain name

Request parameters

Parameter NameDescriptionRequired
nameName of the keypairtrue
publickeyPublic key material of the keypairtrue
accountan optional account for the ssh key. Must be used with domainId.false
domainidan optional domainId for the ssh key. If the account parameter is used, domainId must also be used.false
projectidan optional project for the ssh keyfalse

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