Apache CloudStack v4.1.0 User API Reference
createSSHKeyPair
Create a new keypair and returns the private key
Request parameters
Parameter Name | Description | Required |
name | Name of the keypair | true |
account | an optional account for the ssh key. Must be used with domainId. | false |
domainid | an optional domainId for the ssh key. If the account parameter is used, domainId must also be used. | false |
projectid | an optional project for the ssh key | false |
Response Tags
Response Name | Description |
fingerprint | Fingerprint of the public key |
name | Name of the keypair |
privatekey | Private key |