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 2020/10/22 05:42:07 UTC

[GitHub] [apisix] Firstsawyou removed a comment on issue #2490: feat: In the request of the `hmac-auth` plugin, remove the request header related to the plugin

Firstsawyou removed a comment on issue #2490:
URL: https://github.com/apache/apisix/issues/2490#issuecomment-714242875


   > W
   
   There are two ways to define request headers related to the `hmac-auth` plugin:
   1. The signature information is separately placed in the request header
   Related request headers are(plugin default):
   ```
   X-HMAC-ACCESS-KEY,
   X-HMAC-SIGNATURE,
   X-HMAC-ALGORITHM,
   X-HMAC-SIGNED-HEADERS,
   Date
   ```
   The `X-HMAC-SIGNED-HEADERS` is of the `array` type and can have multiple request headers.
   These request header names have default values ​​in the plugin, and can also be customized in the `conf / config.yaml` file.
   
   2. Put the signature information together in the Authorization field of the request header
   Related request headers are:
   ```
   Authorization,
   X-HMAC-SIGNED-HEADERS
   ```


----------------------------------------------------------------
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.

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