secrets-create-item

secrets-create-item is an autoloaded compiled Lisp function in `secrets.el'.

(secrets-create-item COLLECTION ITEM PASSWORD &rest ATTRIBUTES)

Create a new item in COLLECTION with label ITEM and password PASSWORD.
ATTRIBUTES are key-value pairs set for the created item. The
keys are keyword symbols, starting with a colon. Example:

(secrets-create-item "Tramp collection" "item" "geheim"
:method "sudo" :user "joe" :host "remote-host")

The object path of the created item is returned.