FreeBSD Manual Pages
podman-secret-inspect(1) General Commands Manual podman-secret-inspect(1) NAME podman-secret-inspect - Display detailed information on one or more secrets SYNOPSIS podman secret inspect [options] secret [...] DESCRIPTION Inspects the specified secret. By default, this renders all results in a JSON array. If a format is speci- fied, 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=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 op- | | | tion) | +--------------------------+-----------------------------+ | .Spec ... | Details of secret | +--------------------------+-----------------------------+ | .Spec.Driver ... | Driver info | +--------------------------+-----------------------------+ | .Spec.Driver.Name | Driver name (string) | +--------------------------+-----------------------------+ | .Spec.Driver.Options ... | Driver options (map of dri- | | | ver-specific options) | +--------------------------+-----------------------------+ | .Spec.Labels ... | Labels for this secret | +--------------------------+-----------------------------+ | .Spec.Name | Name of secret | +--------------------------+-----------------------------+ | .UpdatedAt ... | When secret was last up- | | | dated (relative timestamp, | | | human-readable) | +--------------------------+-----------------------------+ --help Print usage statement. --pretty Print inspect output in human-readable format. Ignores fields from --for- mat. --showsecret Display secret data EXAMPLES Inspect the secret mysecret. $ podman secret inspect mysecret Inspect the secret mysecret and print it in a human readable format instead of JSON, with the default fields. $ podman secret inspect --pretty 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 ALSO podman(1), podman-secret(1) HISTORY January 2021, Originally compiled by Ashley Cui acui@redhat.com <mailto:acui@redhat.com> podman-secret-inspect(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | SEE ALSO | HISTORY
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=podman-secret-inspect&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>
