Apache CloudStack v4.4.0 Domain Admin API Reference

registerSSHKeyPair

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
fingerprintFingerprint of the public key
nameName of the keypair