![]() |
![]()
| ![]() |
![]()
NAMEpodman-secret-inspect - Display detailed information on one or more secrets SYNOPSISpodman secret inspect [options] secret [...] DESCRIPTIONInspects 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. OPTIONS--format, -f=formatFormat secret output using Go template.
--helpPrint usage statement. --prettyPrint inspect output in human-readable format --showsecretDisplay secret data EXAMPLESInspect 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 SEE ALSOpodman(1), podman-secret(1) HISTORYJanuary 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩
|