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 的公钥和私钥)的方式。该插件默认使用
`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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]