Keyword authentication
key_auth
The plug-in is very simple, using pre-set keyword names, such as the following setting keynote = apices, and then keynote = apices span>consumerset akey-auth key, ifkey-auth=test@keyauth.
When requestingapi, apikey=test @keyauth, appended as a parameter to the requesturl, or placed inheaders.
Usage example
1.< /span>Configuration plugin
2.Configurationconsumer key-auth
3.Verification plugin
key- auth can be verified in two ways
curl http://10.110.2.3:8000/testKeyAuth -H’apikey: test@keyauth’
http://10.110.2.3:8000/testKeyAuth?apikey=test@keyauth
p>
key-auth The key is: from key in “s3″>headers or query parameters.