podman-secret-ls(1)

πŸ’– podman-secret-ls(1) β€” the General Commands Manual glow-up πŸ’–

okay bestie, welcome to podman-secret-ls, aka the manual page that lets you peek at every secret you've got chilling in your Podman setup. it's giving inventory day but make it cute. πŸŽ€

✨ NAME ✨

podman-secret-ls β€” List all available secrets

🌸 SYNOPSIS 🌸

podman secret ls [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does is: it lists all the secrets that exist. that's it, that's the job, and it slays at it. πŸ’…

and if you're a formatting girlie, the output can be formatted to a Go template using the --format option. no cap.

πŸ‘‘ OPTIONS πŸ‘‘

🌈 --filter, -f=filter=value

filter your output based on conditions, because sometimes you don't want the whole group chat, you just want some of it. multiple filters? yes bestie, just use the --filter option multiple times. stack 'em. πŸ”₯

valid filters are listed below:

  • name β€” [Name] Secret name (accepts regex)
  • id β€” [ID] Full or partial secret ID

πŸ’œ --format=format

format secret output using a Go template. this is where you get to be the main character and decide exactly what shows up. ✨

valid placeholders for the Go template are listed below:

  • .CreatedAt β€” When secret was created (relative timestamp, human-readable)
  • .Driver β€” Driver name (string)
  • .ID β€” ID of secret
  • .Name β€” Name of secret
  • .UpdatedAt β€” When secret was last updated (relative timestamp, human-readable)

πŸ“ --noheading, -n

omit the table headings from the listing. minimalism era. 🧚

⭐ --quiet, -q

print secret IDs only. nothing else. just the IDs. periodt.


🌟 EXAMPLES 🌟

list all secrets. the classic.

$ podman secret ls

list the name field of all secrets. serving template realness.

$ podman secret ls --format "{{.Name}}"

list all secrets whose name includes the specified string. filter era activated.

$ podman secret ls --filter name=confidential

πŸ” SEE ALSO πŸ”

podman(1), podman-secret(1)


πŸ“œ HISTORY πŸ“œ

January 2021, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩


and that's the whole page bestie, no crumbs left, every single flag and placeholder accounted for. πŸ’–

okay bye ily, this was podman-secret-ls(1) from the General Commands Manual, and if you ever need it again it's right there waiting for you like the icon it is. πŸ«Άβœ¨πŸ’…

πŸ“¦ where this page comes from