Emacs Lisp interface for node-keytar using @emacs-grammarly/keytar-cli.
You will need @emacs-grammarly/keytar-cli before using this library.
npm install -g @emacs-grammarly/keytar-cli
or after you have installed keytar.el
in your load-path
. Do the following,
(require 'keytar)
(keytar-install)
List of supported API ported from node-keytar.
keytar-get-password
keytar-set-password
keytar-delete-password
keytar-find-credentials
keytar-find-password
P.S. Checkout the node-keytar#docs for details
A small example to use this library in Emacs Lisp.
(keytar-set-password "service1" "testuser" "hello") ; t
(keytar-find-credentials "service1") ; [ { account: 'testuser', password: 'hello' } ]
(keytar-find-password "service1") ; hello
If you would like to contribute to this project, you may either clone and make pull requests to this repository. Or you can clone the project and establish your own branch of this tool. Any methods are welcome!