podman-secret-exists(1)
β¨ podman-secret-exists(1) β the "does my lil secret even exist" check β¨
okay bestie, so this is a page from the General Commands Manual family, and it's about podman-secret-exists. it's short, it's sweet, it's giving "one job and it does it flawlessly" π
πΈ NAME πΈ
podman-secret-exists β check if the given secret exists
π¦ SYNOPSIS π¦
podman secret exists secret
π DESCRIPTION π
so like, podman secret exists literally just checks if a secret exists. that's it, that's the whole vibe π
the way it talks to you is through exit codes, which is very demure, very mindful:
0β returned when the secret is found. slay, it's there π1β returned otherwise. nope, not there π125β this one means there was another issue. like, a whole different problem. not a "secret doesn't exist" problem, an actual problem-problem π
no cap, read those exit codes carefully β1and125are NOT the same thing and confusing them will ruin your day fr fr.
β¨ OPTIONS β¨
--help,-hβ print usage statement. your lil emergency exit when you forget how anything works π«Ά
π EXAMPLE π
first up: check if a secret called mysecret exists β and spoiler, it does actually exist π
$ podman secret exists mysecret
$ echo $?
0
$
see that 0? iconic. main character energy. the secret is real and it's thriving β¨
next up: check if a secret called mypassword exists β and nope, this one does not actually exist π
$ podman secret exists mypassword
$ echo $?
1
$
1 means not found, bestie. it's not broken, it's just not there π
π SEE ALSO π
π HISTORY π
April 2023, originally compiled by Ygal Blum <ygal.blum@gmail.com> β thank you for your service, legend π«‘
and that's the whole page, babe π§ go forth, check your secrets, trust the exit codes, and remember: 0 is love, 1 is absence, 125 is chaos ππ
π¦ 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