1podman-secret-ls(1) General Commands Manual podman-secret-ls(1)
2
3
4
6 podman-secret-ls - List all available secrets
7
8
10 podman secret ls [options]
11
12
14 Lists all the secrets that exist. The output can be formatted to a Go
15 template using the --format option.
16
17
19 --filter, -f=filter=value
20 Filter output based on conditions given. Multiple filters can be given
21 with multiple uses of the --filter option.
22
23
24 Valid filters are listed below:
25
26
27 ┌───────┬────────────────────────────────┐
28 │Filter │ Description │
29 ├───────┼────────────────────────────────┤
30 │name │ [Name] Secret name (accepts │
31 │ │ regex) │
32 ├───────┼────────────────────────────────┤
33 │id │ [ID] Full or partial secret ID │
34 └───────┴────────────────────────────────┘
35
36 --format=format
37 Format secret output using Go template.
38
39
40 --noheading
41 Omit the table headings from the listing of secrets.
42
43
44 --quiet, -q
45 Print secret IDs only.
46
47
49 $ podman secret ls
50 $ podman secret ls --format "{{.Name}}"
51 $ podman secret ls --filter name=confidential
52
53
54
56 podman(1), podman-secret(1)
57
58
60 January 2021, Originally compiled by Ashley Cui acui@redhat.com
61 ⟨mailto:acui@redhat.com⟩
62
63
64
65 podman-secret-ls(1)