Apache CloudStack v4.2.0 Domain Admin API Reference

createSSHKeyPair

Create a new keypair and returns the private key

Request parameters

Parameter NameDescriptionRequired
nameName 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
privatekeyPrivate key