Apache CloudStack 4.23.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 |