CloudStack v2.2.13 - 2.2.14 User 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