Apache CloudStack v4.3.0 Root Admin API Reference
registerSSHKeyPair
Register a public key in a keypair under a certain name
Request parameters
| Parameter Name | Description | Required |
| name | Name of the keypair | true |
| publickey | Public key material 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 |