secret-tool
Store and retrieve secrets via desktop keyring
TLDR
Store a secret with label
$ secret-tool store --label=label key value
Retrieve a secret$ secret-tool lookup key key_name
Search for information about a secret$ secret-tool search key key_name
Delete a stored secret$ secret-tool clear key key_name
SYNOPSIS
secret-tool command [options] attributes
DESCRIPTION
secret-tool stores and retrieves passwords using the Freedesktop Secret Service API. It communicates with keyring implementations like gnome-keyring or KWallet.
Secrets are identified by key-value attribute pairs for flexible organization.
PARAMETERS
store
Store a new secret--label label
Label for the secretlookup
Retrieve a secretsearch
Get information about secretsclear
Delete a secret
CAVEATS
Requires a secret service provider to be running. Secrets are stored encrypted but accessible to applications using the Secret Service.
HISTORY
Part of libsecret package, providing command-line access to the Freedesktop Secret Service.
SEE ALSO
gnome-keyring(1), pass(1)
