]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Document that auth-user-pass may be inlined
authorSelva Nair <selva.nair@gmail.com>
Tue, 20 Feb 2024 17:52:15 +0000 (12:52 -0500)
committerGert Doering <gert@greenie.muc.de>
Fri, 23 Feb 2024 11:42:03 +0000 (12:42 +0100)
Commits 7d48d31b39619b7f added support for inlining username
and, optionally, password.
Add a description of its usage in the man page.

Github: resolves OpenVPN/openvpn#370

Change-Id: I7a1765661f7676eeba8016024080fd1026220ced
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20240220175215.2731491-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28284.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/client-options.rst
doc/man-sections/inline-files.rst

index b92b1a46eb4f4fe69a585229c6759fce5a5edd3e..b75fe5bdbad4e5d5f073cefad3143e58324e95be 100644 (file)
@@ -73,6 +73,17 @@ configuration.
   If ``up`` is omitted, username/password will be prompted from the
   console.
 
+  This option can also be inlined
+  ::
+
+    <auth-user-pass>
+    username
+    [password]
+    </auth-user-pass>
+
+  where password is optional, and will be prompted from the console if
+  missing.
+
   The server configuration must specify an ``--auth-user-pass-verify``
   script to verify the username/password provided by the client.
 
index f46301e85831468864258268b94514bbd54e7365..4dba73c9275b03590892e4390ba034439d6e0e97 100644 (file)
@@ -5,7 +5,7 @@ OpenVPN allows including files in the main configuration for the ``--ca``,
 ``--cert``, ``--dh``, ``--extra-certs``, ``--key``, ``--pkcs12``,
 ``--crl-verify``, ``--http-proxy-user-pass``, ``--tls-auth``,
 ``--auth-gen-token-secret``, ``--peer-fingerprint``, ``--tls-crypt``,
-``--tls-crypt-v2`` and ``--verify-hash`` options.
+``--tls-crypt-v2``, ``--verify-hash`` and ``--auth-user-pass`` options.
 
 Each inline file started by the line ``<option>`` and ended by the line
 ``</option>``