podman-secret-rm(1)

πŸ’… podman-secret-rm(1)

okay bestie, welcome to podman-secret-rm from the General Commands Manual corner of the podman-verse ✨


🌸 NAME 🌸

podman-secret-rm β€” remove one or more secrets πŸ—‘οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

podman secret rm [options] secret [...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like. It removes one or more secrets. That's the whole vibe. πŸ’–

But here's the part that's actually important, bestie, listen up: podman secret rm is safe to use on secrets that are in use by a container. No cap. The created container has access to the secret data because secrets are copied and mounted into the container when a container is created. 🫢

Now the lowkey cursed part 😭 β€” if a secret is deleted and another secret is created with the same name, the secret inside the container does not change; the old secret value still remains. It's giving "I thought you were gone but you're literally still here" energy. πŸ’€


✨ OPTIONS ✨

  • --all, -a β€” remove all existing secrets. every single one. gone. πŸ‘‘
  • --help β€” print usage statement. the classic. πŸŽ€
  • --ignore, -i β€” ignore errors when specified secrets are not present. no drama, no error, just vibes. 🌈

πŸ’œ EXAMPLES πŸ’œ

Remove secrets mysecret1 and mysecret2. πŸ—‘οΈ

$ podman secret rm mysecret1 mysecret2

Remove all secrets β€” look at all these IDs just poofing away πŸ’¨

$ podman secret rm --all
3fa78977c813cca1d5b1a4570
4ee314533b16a47d0d8c6e775

Removes the specified secrets. No error is thrown if a non-existent secret is included. (non_existent_secret really said "not me being fine with this" πŸ™ˆ)

$ podman secret rm --ignore mysecret1 mysecret2 non_existent_secret
9bb0cad56c4a610da8ebca0cc
3c497981215f1b5dd9ce19cde

🌈 SEE ALSO 🌈

podman(1), podman-secret(1)


πŸ“œ HISTORY πŸ“œ

January 2021, Originally compiled by Ashley Cui <acui@redhat.com> ⟨mailto:acui@redhat.com⟩ β€” shoutout to the icon who wrote this fr fr πŸ’–


ok that's the whole page, bestie. go forth and delete responsibly. πŸ’…

and yes, this was podman-secret-rm(1) the whole time β€” podman-secret-rm(1), that's the manual name, that's the whole footer situation, consider it mentioned. mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from