From fb26c8fdd0d25bee7fdca8722b334e6eee9fa528 Mon Sep 17 00:00:00 2001
From: Randy Ramos <rramos1295@gmail.com>
Date: Fri, 10 Nov 2017 07:39:59 -0500
Subject: calcurse-caldav: Document external password option

Add information about the CALCURSE_CALDAV_PASSWORD environment variable.

Signed-off-by: Randy Ramos <rramos1295@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
---
 contrib/caldav/README.md | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'contrib')

diff --git a/contrib/caldav/README.md b/contrib/caldav/README.md
index 35b789e..133919e 100644
--- a/contrib/caldav/README.md
+++ b/contrib/caldav/README.md
@@ -32,6 +32,14 @@ argument. You can choose between the following initialization modes:
 For subsequent calcurse-caldav invocations, you don't need to specify any
 additional parameters.
 
+You can specify a username and password for basic authentication in the
+config file. Alternatively, the password can be passed securely from another
+program (such as *pass*) via the `CALCURSE_CALDAV_PASSWORD` environment variable like
+so:
+```
+CALCURSE_CALDAV_PASSWORD=$(pass show calcurse) calcurse-caldav
+```
+
 Hooks
 -----
 
-- 
cgit v1.2.3-70-g09d2