emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gptel 075609544a 085/273: README: Update instructions for


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 075609544a 085/273: README: Update instructions for setting key (#46)
Date: Wed, 1 May 2024 10:01:50 -0400 (EDT)

branch: elpa/gptel
commit 075609544acf6330991828483b72de6ff6c7e4d1
Author: Troy Rosenberg <tmr08c@gmail.com>
Commit: GitHub <noreply@github.com>

    README: Update instructions for setting key (#46)
    
    * README.org Update the instructions for getting =gptel-api-key= to
    include using the .authinfo file after support was added in 6f951ed.
---
 README.org | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 4fd3307785..a5d1457c7b 100644
--- a/README.org
+++ b/README.org
@@ -58,7 +58,13 @@ After installation with =M-x package-installāŽ= =gptel=
 
 Procure an [[https://platform.openai.com/account/api-keys][OpenAI API key]].
 
-Optional: Set =gptel-api-key= to the key or to a function that returns the key 
(more secure).
+Optional: Set =gptel-api-key= to the key. Alternatively, you may choose a more 
secure method such as:
+
+- Storing in =~/.authinfo=. By default, "openai.com" is used as HOST and 
"apikey" as USER.
+  #+begin_src authinfo
+machine openai.com login apikey password TOKEN
+  #+end_src
+- Setting it to a function that returns the key.
 
 *** In any buffer:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]