sbx secret ls
| 内容説明 | List stored secrets |
|---|---|
| 利用方法 | sbx secret ls [flags] |
Description
List stored secrets across global and sandbox scopes.
With no scope flag, all stored secrets are shown. Use --global to show only global secrets, or --sandbox to show only secrets scoped to one sandbox.
Options
| オプション | デフォルト | 内容説明 |
|---|---|---|
-g, --global | Only list global secrets | |
--json | Output in JSON format | |
-q, --quiet | Only display secret names | |
--sandbox | Only list secrets for one sandbox | |
--service | Filter by secret service name |
Global options
| オプション | デフォルト | 内容説明 |
|---|---|---|
--cloud | Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list) | |
-D, --debug | Enable debug logging |
Examples
# List all secrets
sbx secret ls
# List only global secrets
sbx secret ls -g
# List secrets for a specific sandbox
sbx secret ls --sandbox my-sandbox
# Filter by service
sbx secret ls --service github
# Machine-readable output for scripting
sbx secret ls --json