'\" t .nh .TH podman-secret-inspect 1 .SH NAME .PP podman-secret-inspect - Display detailed information on one or more secrets .SH SYNOPSIS .PP \fBpodman secret inspect\fP [\fIoptions\fP] \fIsecret\fP [...] .SH DESCRIPTION .PP Inspects the specified secret. .PP 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. .SH OPTIONS .SS \fB--format\fP, \fB-f\fP=\fIformat\fP .PP Format secret output using Go template. .TS allbox; l l l l . \fB\fBPlaceholder\fP\fP \fB\fBDescription\fP\fP \&.CreatedAt T{ When secret was created (relative timestamp, human-readable) T} \&.ID ID of secret \&.SecretData T{ Secret Data (Displayed only with --showsecret option) T} \&.Spec ... Details of secret \&.Spec.Driver Driver info \&.Spec.Driver.Name Driver name (string) \&.Spec.Driver.Options ... T{ Driver options (map of driver-specific options) T} \&.Spec.Labels Labels for this secret \&.Spec.Name Name of secret \&.UpdatedAt T{ When secret was last updated (relative timestamp, human-readable) T} .TE .SS \fB--help\fP .PP Print usage statement. .SS \fB--pretty\fP .PP Print inspect output in human-readable format .SS \fB--showsecret\fP .PP Display secret data .SH EXAMPLES .EX $ podman secret inspect mysecret $ podman secret inspect --format "{{.Name} {{.Scope}}" mysecret $ podman secret inspect --showsecret --format "{{.Name} {{.SecretData}}" mysecret .EE .SH SEE ALSO .PP \fBpodman(1)\fP, \fBpodman-secret(1)\fP .SH HISTORY .PP January 2021, Originally compiled by Ashley Cui acui@redhat.com \[la]mailto:acui@redhat.com\[ra]