Cosmic Domain Admin 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
privatekeyPrivate key