Create a tunnel key
Secure device tunneling
Create a tunnel key
Creates a new tunnel key. If public_key is omitted, the server generates a 2048-bit RSA keypair and returns the private key in the response — save it immediately, it is not stored. The key type must be ssh-rsa. At most 5 enabled keys are allowed per user. If the org does not have a plan that supports device tunneling, this endpoint returns 403.
POST
Create a tunnel key
Authorizations
HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key. You can find your API key on the Hologram Dashboard under Account Settings.
Body
application/json
OpenSSH-format RSA public key; if omitted the server generates a keypair