Share feedback
Answers are generated based on the documentation.

sbx secret

DescriptionManage stored secrets

Description

Manage stored secrets for sandbox environments.

SERVICE SECRETS (e.g. "github", "anthropic", "openai") When a sandbox starts, the proxy uses stored secrets to authenticate API requests on behalf of the agent. The secret is never exposed directly. Scoped globally (shared across all sandboxes) or to a specific sandbox.

REGISTRY SECRETS (e.g. "ghcr.io", "myregistry.azurecr.io") Used to pull private template images and kit artifacts before sandbox creation. Host-only secrets (no -g) are not injected into sandboxes; global secrets (-g) are written as ~/.docker/config.json in every new sandbox. Use "sbx secret set --registry --password-stdin" to store them.

Commands

CommandDescription
sbx secret lsList stored secrets
sbx secret rmRemove a secret
sbx secret setCreate or update a secret

Global options

OptionDefaultDescription
-D, --debugEnable debug logging