podman-secret-ls - Man Page
List all available secrets
Synopsis
podman secret ls [options]
Description
Lists all the secrets that exist. The output can be formatted to a Go template using the --format option.
Options
--filter, -f=filter=value
Filter output based on conditions given. Multiple filters can be given with multiple uses of the --filter option.
Valid filters are listed below:
Filter | Description |
name | [Name] Secret name (accepts regex) |
id | [ID] Full or partial secret ID |
--format=format
Format secret output using Go template.
--noheading, -n
Omit the table headings from the listing.
--quiet, -q
Print secret IDs only.
Examples
$ podman secret ls $ podman secret ls --format "{{.Name}}" $ podman secret ls --filter name=confidential
See Also
History
January 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩