GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
podman-secret-ls(1) FreeBSD General Commands Manual 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, -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.

Valid placeholders for the Go template are listed below:

Placeholder Description
.CreatedAt ... When secret was created (relative timestamp, human-readable)
.ID ID of secret
.SecretData Secret Data (Displayed only with --showsecret option)
.Spec ... Details of secret
.Spec.Driver ... Driver info
.Spec.Driver.Name Driver name (string)
.Spec.Driver.Options ... Driver options (map of driver-specific options)
.Spec.Labels ... Labels for this secret
.Spec.Name Name of secret
.UpdatedAt ... When secret was last updated (relative timestamp, human-readable)

--noheading, -n

Omit the table headings from the listing.

--quiet, -q

Print secret IDs only.

List all secrets.

$ podman secret ls

List the name field of all secrets.

$ podman secret ls --format "{{.Name}}"

List all secrets whose name includes the specified string.

$ podman secret ls --filter name=confidential

podman(1), podman-secret(1)

January 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.