.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 will be 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\fC\fBPlaceholder\fP\fR	\fB\fC\fBDescription\fP\fR
\&.CreatedAt	T{
When secret was created (relative timestamp, human-readable)
T}
\&.ID	ID of secret
\&.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

.SH EXAMPLES
.PP
.RS

.nf
$ podman secret inspect mysecret
$ podman secret inspect --format "{{.Name} {{.Scope}}" mysecret

.fi
.RE

.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]
