Apache CloudStack 4.17.0.0 Root Admin 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 |
| privatekey | Private key |