Firstsawyou commented on issue #2490: URL: https://github.com/apache/apisix/issues/2490#issuecomment-714243171
> @Firstsawyou What are the http headers related to this plugin? Where is the unified definition and management? 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: [email protected]
