|
|
@@ -40,7 +40,8 @@ Login to the [[https://vault.bitwarden.com][bitwarden web interface]], login to
|
|
|
=settings= tab and scroll down to the API Key section. Follow the instructions to setup your API
|
|
|
key. You will need both your =client_id= and your =client_secret=. Then add to your init.el configuration
|
|
|
two functions =bitwarden-api-client-id= and =bitwarden-api-client-secret= which have the same specification format as =bitwarden-automatic-unlock=.
|
|
|
-For example, here is the relevant section from my configuration.
|
|
|
+Here is an example emacs configuration,
|
|
|
+
|
|
|
#+begin_src emacs-lisp
|
|
|
(setq bitwarden-api-secret-key
|
|
|
(plist-get (car (auth-source-search :host "bitwarden.key"))
|
|
|
@@ -50,7 +51,7 @@ For example, here is the relevant section from my configuration.
|
|
|
:secret))
|
|
|
#+end_src
|
|
|
|
|
|
-Note that these query two lines in my =authinfo.gpg= that have the form:
|
|
|
+For those using =authinfo.gpg=, these two lines have the form,
|
|
|
|
|
|
#+begin_quote
|
|
|
machine bitwarden.key login YYY password XXX
|