Skip to content
Kosh Docs

kosh list

List the credentials stored in the active profile's vault.

List the credentials stored in the active profile’s vault.

Terminal window
kosh list [flags]

Arguments: none.

Flag Description
-l, --label string Filter credentials whose label contains the given substring
-u, --user string Filter credentials whose user contains the given substring

Combining both flags requires both to match.

ID Label User Access Count Last Used Last Updated Created At
-- ----- ---- ------------ --------- ------------ ----------
01 github alice 005 times 02d 04h ago 14d 06h ago Mon, 21 Jul 2025 14:02:11 IST
02 github alice-work 000 times never just now Tue, 05 Aug 2025 09:11:47 IST

Columns size themselves to the content. Last Used and Last Updated are relative, showing the two most significant units (02d 04h ago, 03h 12m ago, just now, never); Created At is absolute (RFC 1123).

  • Only metadata is listed. Secrets are never decrypted or displayed here, so the command needs no master password.
  • The ID column is what update, delete and copy take as their argument.
  • An empty vault, or a filter that matches nothing, prints an empty table.
  • These are plain substring filters, not the fuzzy matching used by kosh search.
Terminal window
kosh list
kosh list --label git
kosh list -l aws -u alice