snippetbashTip
secret-tool — Store and retrieve passwords, part of the `libsecret` package. Communicates with Freedesktop secret
Viewed 0 times
commandstoreandretrieveclipartsecret-toolpasswords
linux
Problem
How to use the
secret-tool command: 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/>.Solution
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}}Code Snippets
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}}Context
tldr-pages: linux/secret-tool
Revisions (0)
No revisions yet.