SylviaBABY commented on code in PR #6895: URL: https://github.com/apache/apisix/pull/6895#discussion_r854923662
########## docs/zh/latest/plugins/key-auth.md: ########## @@ -23,32 +29,35 @@ title: key-auth ## 描述 -`key-auth` 是一个认证插件,它需要与 `consumer` 一起配合才能工作。 +`key-auth` 插件用于向 Route 或 Service 添加身份验证密钥(API key)。 -添加 Key Authentication 到一个 `service` 或 `route`。 然后,`consumer` 将其密钥添加到查询字符串参数或标头中以验证其请求。 +它需要与 [Consumer](../architecture-design/consumer.md) 一起配合才能工作。然后,消费者将其密钥添加到查询字符串参数或标头中以验证其请求。 Review Comment: ```suggestion 它需要与 [Consumer](../architecture-design/consumer.md) 一起配合才能工作,通过消费者将其密钥添加到查询字符串参数或标头中以验证其请求。 ``` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org