Skip to content

Commit

Permalink
secret-tool (libsecret): add page
Browse files Browse the repository at this point in the history
Add page documenting simple commands to store and lookup secrets from
libsecret.
  • Loading branch information
AntonFriberg committed Sep 17, 2024
1 parent 5dd239e commit 3cf0d0c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pages/linux/secret-tool.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# secret-tool

> Store and retrieve passwords, part of the `libsecret` package.
> Communicates with `Secret Service` implementation such as `gnome-keyring`.
> For more information <https://wiki.gnome.org/Projects/Libsecret>
- Store a secret with optional label:

`secret-tool store --label={{label}} {{key}} {{value}}`

- Retrieve a secret:

`secret-tool lookup key {{key}}`

- Get more information about secret:

`secret-tool search key {{key}}`

- Delete a stored secret:

`secret-tool clear key {{key}}`

0 comments on commit 3cf0d0c

Please sign in to comment.