You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/18 14:05:06 UTC

[GitHub] [apisix] yzeng25 commented on a change in pull request #6127: docs: update the jwt-auth zh version

yzeng25 commented on a change in pull request #6127:
URL: https://github.com/apache/apisix/pull/6127#discussion_r786789832



##########
File path: docs/zh/latest/plugins/jwt-auth.md
##########
@@ -48,6 +53,9 @@ title: jwt-auth
 | algorithm     | string  | 可选   | "HS256" | ["HS256", "HS512", "RS256"] | 加密算法                                                                                                      |
 | exp           | integer | 可选   | 86400   | [1,...]                     | token 的超时时间                                                                                              |
 | base64_secret | boolean | 可选   | false   |                             | 密钥是否为 base64 编码                                                                                        |
+| vault | object | 可选    |    |                             | Vault 是否用于密钥(HS256/HS512 的密钥或 RS256 的公钥和私钥)的存储和检索。该插件默认使用的 Vault 路径为 `kv/apisix/consumer/<consumer name>/jwt-auth` 用于检索密钥 |

Review comment:
       
   ```suggestion
   | vault | object | 可选    |    |                             | Vault 是否用于密钥(HS256/HS512 的密钥或 RS256 的公钥和私钥)的存储和检索。该插件默认使用 vault 路径为 `kv/apisix/consumer/<consumer name>/jwt-auth` 进行密钥检索。 |
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org