podman-secret-inspect(1)
π podman-secret-inspect(1) π
okay bestie, welcome to the podman-secret-inspect(1) glow-up page β¨ this is where you get the full tea on your secrets β like, all the details, not just the vibe.
πΈ NAME πΈ
podman-secret-inspect β spill all the detailed info on one or more secrets π«
β¨ SYNOPSIS β¨
podman secret inspect [options] secret [...]
π DESCRIPTION π
So basically? You point this at a secret and it inspects it. That's it, that's the job. π
By default it renders all the results in a JSON array. But if you pass a format, then the given template gets executed for each result β one run per secret, no cap.
And here's the cute part: you can query secrets individually by giving their full name, or just a unique partial name. Short and sweet, bestie. π
π¦ OPTIONS π¦
--format,-f=format β formats the secret output using a Go template. Details below, keep scrolling π--helpβ prints the usage statement. the "help me help you" button π--prettyβ prints inspect output in a human-readable format. heads up: it ignores fields from--format. like, fully ignores them, don't even try it π--showsecretβ displays the secret data π (yes, the actual secret data)
π --format, -f=format β the placeholder menu π
Format secret output using a Go template. Here's every placeholder you can use, fr fr:
.CreatedAt... β when the secret was created (relative timestamp, human-readable) β°.IDβ ID of secret.SecretDataβ Secret Data (Displayed only with the--showsecretoption) π.Spec... β details of secret.Spec.Driver... β driver info.Spec.Driver.Nameβ driver name (string).Spec.Driver.Options... β driver options (map of driver-specific options).Spec.Labels... β labels for this secret.Spec.Nameβ name of secret.UpdatedAt... β when the secret was last updated (relative timestamp, human-readable) β°
π --help
Print usage statement. that's it. short queen. π
π --pretty
Print inspect output in human-readable format. Ignores fields from --format.
bestie, listen: if you use--pretty, your--formatfields are getting ignored. the pretty flag said "not today" π
π --showsecret
Display secret data. it's giving "yes I really do want to see it" energy. π«Ά
π₯ 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.
β οΈ okay this one is a big deal: this command literally prints your secret data onto your screen. main character behaviour, but be careful who's watching. π³
$ podman secret inspect --showsecret --format "{{.Spec.Name}} {{.SecretData}}" mysecret
π SEE ALSO π
podman(1), podman-secret(1) β the whole friend group, go say hi π
π HISTORY π
January 2021, originally compiled by Ashley Cui acui@redhat.com β¨mailto:acui@redhat.comβ© β iconic behaviour, thank you Ashley π
and that's the whole podman-secret-inspect(1) page, bestie!! β¨ from the January 2021 era of the podman-secret-inspect(1) manual, written by Ashley Cui β go forth and inspect your secrets responsibly, mwah ππ¦π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms