Module: kamailio
Branch: master
Commit: e19cb103fd16b186fed673aae2d04f1abe982110
URL:
https://github.com/kamailio/kamailio/commit/e19cb103fd16b186fed673aae2d04f1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-11T09:49:45+01:00
jwt: docs - updates for key_mode parameter
---
Modified: src/modules/jwt/doc/jwt_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/e19cb103fd16b186fed673aae2d04f1…
Patch:
https://github.com/kamailio/kamailio/commit/e19cb103fd16b186fed673aae2d04f1…
---
diff --git a/src/modules/jwt/doc/jwt_admin.xml b/src/modules/jwt/doc/jwt_admin.xml
index e222e81dc7..dba928b523 100644
--- a/src/modules/jwt/doc/jwt_admin.xml
+++ b/src/modules/jwt/doc/jwt_admin.xml
@@ -60,10 +60,9 @@
<section id="jwt.p.key_mode">
<title><varname>key_mode</varname> (int)</title>
<para>
- Mode to store the private and public keys.
- </para>
- <para>
- Work in progress.
+ Mode to use the private and public keys. If set to 0, they are read
+ always from the disk. If set to 1, they are cached in memory with
+ the first use (no reload support yet).
</para>
<para>
<emphasis>
@@ -74,7 +73,7 @@
<title>Set <varname>key_mode</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("jwt", "key_mode", 0)
+modparam("jwt", "key_mode", 1)
...
</programlisting>
</example>