% podman-secret-ls(1)
podman-secret-ls - List all available secrets
podman secret ls [options]
Lists all the secrets that exist. The output can be formatted to a Go template using the --format option.
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 secret output using Go template.
Omit the table headings from the listing of secrets. .
$ podman secret ls
$ podman secret ls --format "{{.Name}}"
$ podman secret ls --filter name=confidential
January 2021, Originally compiled by Ashley Cui [email protected]