Preview. Replace the public keys that open SSH to the sandbox. SSH takes no password. An open session stays open.
AuthorizationBearer <token>Your Munito API key.
sandbox_id*stringThe id of the sandbox.
application/json- body
keys*array<string>The public keys, each a line of authorized_keys, at most 16. This list replaces the last one.
The SSH access with its new keys.
application/json- response
object?string"sandbox.ssh"sandbox_id*stringhost*stringThe SSH host of the sandboxes.
user*stringThe user name: the id of the sandbox.
command*stringThe command that opens a shell, with one of the keys.
keys*array<string>The public keys that open SSH to the sandbox.
host_key?stringThe host key of SSH. Add <host> <host_key> to ~/.ssh/known_hosts, so ssh trusts the host without a first prompt.
""curl -X PUT 'https://api.munito.ai/sandboxes/v1/sandboxes/string/ssh' \
-H 'Content-Type: application/json' \
-d '{
"keys": [
"string"
]
}'{
"object": "sandbox.ssh",
"sandbox_id": "string",
"host": "string",
"user": "string",
"command": "string",
"keys": [
"string"
],
"host_key": ""
}Get SSH access GET
Preview. How to open SSH to the sandbox, and the public keys that it takes. The user name is the id of the sandbox.
Create SSH access POST
Preview. A user name that opens SSH to the sandbox on its own, until it expires. It needs no key in the sandbox, so it is the whole credential: keep it secret.