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

spin ssh-key

View Markdown
The public keys registered with your account: a registry to pick from, and nothing more.
A key registered here logs in to no workspace on its own. A workspace lets in only the keys its
owner's word lists - 'spin workspace keys add <workspace> <key>' signs one in, with the
workspace's anchor - and a passkey the terminal page registers is added here for that.
Usage:
spin ssh-key [flags]
spin ssh-key [command]
Available Commands:
add Upload an SSH public key to your account
delete Delete an SSH key from your account
list List your uploaded SSH public keys
Flags:
-h, --help help for ssh-key
Global Flags:
--config string config file (default is $HOME/.spin/config.yaml)
-o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text")
--profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default")
Use "spin ssh-key [command] --help" for more information about a command.
Upload an SSH public key that will be added to all your workspaces.
Examples:
spin ssh-key add laptop ~/.ssh/id_ed25519.pub
spin ssh-key add work-key /path/to/key.pub
spin ssh-key add mykey - < key.pub # Read from stdin
Usage:
spin ssh-key add <name> <public-key-file> [flags]
Flags:
-h, --help help for add
Global Flags:
--config string config file (default is $HOME/.spin/config.yaml)
-o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text")
--profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default")
Delete an SSH key from your account
Usage:
spin ssh-key delete <key-id> [flags]
Flags:
-h, --help help for delete
-y, --yes Skip confirmation
Global Flags:
--config string config file (default is $HOME/.spin/config.yaml)
-o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text")
--profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default")
List your uploaded SSH public keys
Usage:
spin ssh-key list [flags]
Flags:
-h, --help help for list
Global Flags:
--config string config file (default is $HOME/.spin/config.yaml)
-o, --output string text for a person, or json: one document of what the API answered, and no prose (default "text")
--profile string named profile to use; SPIN_PROFILE names it when this flag does not (default "default")

Generated by task reference from spin/cmd/cli at 8eee32b9d.

Documents Spinbox v20261019.02. This page as Markdown, for a model or a terminal.