Command-line tool
libsecret
brew/libsecret
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Library for storing/retrieving passwords and other secrets
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install libsecret
Linux
brew install libsecret
Store a secret with an optional label
secret-tool store --label=label key value
Retrieve a secret
secret-tool lookup key key
Get more information about a secret
secret-tool search key key
Related command-line tools
- git-credential-libsecret
Git helper for accessing credentials via libsecret - vault
Secure, store, and tightly control access to tokens, passwords, certificates, API keys, and other secrets in modern… - aegis-password-generator
A secure password generation and management library - libyubikey
C library for manipulating Yubico one-time passwords - mkpasswd
Library and command-line tool to generate passwords - cracklib
LibCrack password checking library - libgfshare
Library for sharing secrets - enpass
A cross-platform password management app to securely store passwords and other credentials in a virtual vault locked…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents