Function: secrets-search-items

secrets-search-items is an autoloaded and byte-compiled function defined in secrets.el.gz.

Signature

(secrets-search-items COLLECTION &rest ATTRIBUTES)

Documentation

Search items in COLLECTION with ATTRIBUTES.

ATTRIBUTES are key-value pairs. The keys are keyword symbols, starting with a colon. Example:

  (secrets-search-items "Tramp collection" :user "joe")

The object labels of the found items are returned as list.

Source Code

;; Defined in /usr/src/emacs/lisp/net/secrets.el.gz
(defun secrets-search-items (collection &rest attributes)
  "Search items in COLLECTION with ATTRIBUTES.
ATTRIBUTES are key-value pairs.  The keys are keyword symbols,
starting with a colon.  Example:

  (secrets-search-items \"Tramp collection\" :user \"joe\")

The object labels of the found items are returned as list."
  (mapcar
   (lambda (item-path) (secrets-get-item-property item-path "Label"))
   (apply #'secrets-search-item-paths collection attributes)))