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-inspect(1) FreeBSD General Commands Manual podman-secret-inspect(1)

podman-secret-inspect - Display detailed information on one or more secrets

podman secret inspect [options] secret [...]

Inspects the specified secret.

By default, this renders all results in a JSON array. If a format is specified, the given template is executed for each result. Secrets can be queried individually by providing their full name or a unique partial name.

--format, -f=format

Format secret output using Go template.

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)

--help

Print usage statement.

--pretty

Print inspect output in human-readable format

--showsecret

Display secret data

Inspect the secret mysecret.

$ podman secret inspect mysecret

Inspect the secret mysecret and display the Name and Labels field.

$ podman secret inspect --format "{{.Spec.Name}} {{.Spec.Labels}}" mysecret

Inspect the secret mysecret and display the Name and SecretData fields. Note this will display the secret data to the screen.

$ podman secret inspect --showsecret --format "{{.Spec.Name}} {{.SecretData}}" mysecret

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.