Skip to content
Spinbox is experimental: APIs change and data may be lost. Status lists what is built and what proves it.

SSHKeyService

View Markdown

SSHKeyService is the keys that log in as the person, to every workspace that lets them in: a key. of their own, for good, or a browser’s or a CLI’s enrolled for twelve hours. Each is added with an. assertion of a passkey of theirs (PasskeyService), so a session alone adds none.

POST /spin.v1.SSHKeyService/AddSSHKey

Adds a key, with an assertion of a passkey of the caller’s over a PASSKEY_PURPOSE_ADD_SSH_KEY challenge naming it.

Request

FieldTypeWhat it is
namestringHuman-readable name
publicKeystringSSH public key content
stepUpPasskeyAssertion
forSessionbooleanA key enrolled for twelve hours - a browser’s, a CLI’s - rather than for good.

Response

FieldTypeWhat it is
sshKeySSHKey

POST /spin.v1.SSHKeyService/DeleteSSHKey

Delete an SSH key from user’s account

Request

FieldTypeWhat it is
idstring

Response

No fields: {}.

POST /spin.v1.SSHKeyService/ListSSHKeys

List user’s SSH public keys

Request

FieldTypeWhat it is
pagePageRequest

Response

FieldTypeWhat it is
sshKeyslist of SSHKey
pagePageResponse

Generated by task reference from spin/internal/controlplane/apidocs/spin.v1.openapi.json at 51f7e0dea.

Installations run Spinbox v20261027.01; the reference is generated from spin v20261114.01 (51f7e0dea). This page as Markdown, for a model or a terminal.