mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
620 B
Plaintext
27 lines
620 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|