mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
Vendor the checked-in CLI YAML from Docker Sandboxes release/v0.51 at 7d55286de0c7. This updates command help, adds `sbx policy check http`, and replaces seven agent-specific create pages with redirects to `sbx create`. Validation: full site build with Hugo 0.169.0; upstream byte-for-byte comparison; all 115 command pages, reference links, and seven redirects checked; template formatting and whitespace checks passed.
61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
name: sbx secret ls
|
|
synopsis: List stored secrets
|
|
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.
|
|
usage: sbx secret ls [flags]
|
|
options:
|
|
- name: format
|
|
usage: 'Output format: table, json or yaml'
|
|
- name: global
|
|
shorthand: g
|
|
default_value: "false"
|
|
usage: Only list global secrets
|
|
- name: help
|
|
shorthand: h
|
|
default_value: "false"
|
|
usage: help for ls
|
|
- name: json
|
|
default_value: "false"
|
|
usage: Output in JSON format
|
|
- name: quiet
|
|
shorthand: q
|
|
default_value: "false"
|
|
usage: Only display secret names
|
|
- name: sandbox
|
|
usage: Only list secrets for one sandbox
|
|
- name: service
|
|
usage: Filter by secret service name
|
|
inherited_options:
|
|
- name: cloud
|
|
default_value: "false"
|
|
usage: |
|
|
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)
|
|
- name: debug
|
|
shorthand: D
|
|
default_value: "false"
|
|
usage: Enable debug logging
|
|
- name: no-input
|
|
default_value: "false"
|
|
usage: |
|
|
Never prompt; commands that need an answer fail with the command to run instead
|
|
example: |4-
|
|
# 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
|
|
see_also:
|
|
- sbx secret - Manage stored secrets
|