about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorGalen Abell <galen@galenabell.com>2019-05-18 15:29:26 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-18 15:31:38 -0400
commitb8208509f47301bcb03bc222f5e5765833478250 (patch)
treeba089c1f60d05bf6ea48c027dc09a25467b1b765 /doc
parent98da4c9509d03f8ffe48b9c66b9c3ce8a0f2f942 (diff)
downloadaerc-b8208509f47301bcb03bc222f5e5765833478250.tar.gz
Implement loading passwords from external commands
* Resolves #80
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-config.5.scd13
-rw-r--r--doc/aerc-imap.5.scd10
-rw-r--r--doc/aerc-smtp.5.scd10
3 files changed, 33 insertions, 0 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index a221723..ecf7720 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -144,6 +144,12 @@ Note that many of these configuration options are written for you, such as
 
 	- *aerc-smtp*(5)
 
+*outgoing_cred_cmd*
+    Specifies an optional command that is run to get the outgoing account's
+    password. See each protocol's man page for more details:
+
+    - *aerc-smtp*(5)
+
 *source*
 	Specifies the source for reading incoming emails on this account. This key
 	is required for all accounts. It should be a connection string, and the
@@ -154,6 +160,13 @@ Note that many of these configuration options are written for you, such as
 
 	Default: none
 
+*source_cred_cmd*
+    Specifies an optional command that is run to get the source account's
+    password. See each protocol's man page for more details:
+
+    - *aerc-imap*(5)
+
+
 # BINDS.CONF
 
 This file is used for configuring keybindings used in the aerc interactive
diff --git a/doc/aerc-imap.5.scd b/doc/aerc-imap.5.scd
index 5899a34..d676c7c 100644
--- a/doc/aerc-imap.5.scd
+++ b/doc/aerc-imap.5.scd
@@ -35,6 +35,16 @@ available:
 	*imaps*:
 		IMAP with TLS/SSL
 
+*source_cred_cmd*
+    Specifies the command to run to get the password for the IMAP
+    account. This command will be run using `sh -c [command]`. If a
+    password is specified in the *source* option, the password will
+    take precedence over this command.
+
+    Example:
+
+    `pass hostname/username`
+
 # SEE ALSO
 
 *aerc*(1) *aerc-config*(5) *aerc-smtp*(5)
diff --git a/doc/aerc-smtp.5.scd b/doc/aerc-smtp.5.scd
index 7d07125..17eb627 100644
--- a/doc/aerc-smtp.5.scd
+++ b/doc/aerc-smtp.5.scd
@@ -39,6 +39,16 @@ available:
 		Authenticate with a username and password using AUTH PLAIN. This is the
 		default behavior.
 
+*outgoing_cred_cmd*
+    Specifies the command to run to get the password for the SMTP
+    account. This command will be run using `sh -c [command]`. If a
+    password is specified in the *outgoing* option, the password will
+    take precedence over this command.
+
+    Example:
+
+    `pass hostname/username`
+
 # SEE ALSO
 
 *aerc*(1) *aerc-config*(5) *aerc-smtp*(5)