Files
podman/docs/source/markdown/podman-secret-inspect.1.md
Daniel J Walsh f6e7b0b59d Add podman secret inspect -f alias for --format: Docker compatibility
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-08-17 12:49:30 -04:00

867 B

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

OPTIONS

--format, -f=format

Format secret output using Go template.

--help

Print usage statement.

EXAMPLES

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

SEE ALSO

podman(1), podman-secret(1)

HISTORY

January 2021, Originally compiled by Ashley Cui acui@redhat.com