This is an automated email from the ASF dual-hosted git repository.

zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 86c14c74 docs: fix jwtAuth configuration error in documents (#1680)
86c14c74 is described below

commit 86c14c742fb63675d695f04ff0fcd24588159201
Author: Joanthan Chen <[email protected]>
AuthorDate: Tue Feb 21 21:48:18 2023 +0800

    docs: fix jwtAuth configuration error in documents (#1680)
---
 .../tutorials/enable-authentication-and-restriction.md       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/en/latest/tutorials/enable-authentication-and-restriction.md 
b/docs/en/latest/tutorials/enable-authentication-and-restriction.md
index e67e17d8..e44addeb 100644
--- a/docs/en/latest/tutorials/enable-authentication-and-restriction.md
+++ b/docs/en/latest/tutorials/enable-authentication-and-restriction.md
@@ -93,15 +93,15 @@ metadata:
   name: ${name}
 spec:
   authParameter:
-    wolfRbac:
+    jwtAuth:
       value:
-        key: "${key}"                                    #required
-        secret: "${secret}"                              #optional
+        key: "${key}"                                    #required, unique key 
for a Consumer.
+        secret: "${secret}"                              #optional, the 
encryption key. If unspecified, auto generated in the background.
         public_key: "${public_key}"                      #optional, required 
when algorithm attribute selects RS256 algorithm.
         private_key: "{private_key}"                     #optional, required 
when algorithm attribute selects RS256 algorithm.
-        algorithm: "${HS256 | HS512 | RS256}"            #optional
-        exp: ${ 86400 | token's expire time, in seconds} #optional
-        algorithm: ${true | false}                       #optional
+        algorithm: "${HS256 | HS512 | RS256}"            #optional, encryption 
algorithm.
+        exp: ${ 86400 | token's expire time, in seconds} #optional, expiry 
time of the token in seconds.
+        base64_secret: ${true | false}                   #optional, set to 
true if the secret is base64 encoded.
 ```
 
 </details>

Reply via email to