1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 10:22:10 +02:00
tldr/pages/linux/secret-tool.md
Anton Friberg 8d72f49b06
secret-tool: add page (#13728)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-09-26 14:53:25 +05:30

21 lines
528 B
Markdown

# secret-tool
> Store and retrieve passwords, part of the `libsecret` package.
> Communicates with Freedesktop secret service implementations such as `gnome-keyring`.
> More information: <https://gnome.pages.gitlab.gnome.org/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}}`
- Delete a stored secret:
`secret-tool clear key {{key}}`