VERIFY THAT REQUESTS TO A SERVICE ARE CACHED IN KONG FOR A SPECIFIC CONSUMER
Review: Enable Key-Auth + Provision a Consumer
In a previous lab, you learned how to enable the Key-Auth plugin and provision a Consumer, use the following commands to quickly:
Add the Key-Auth plugin
Add a Consumer to Kong
Provision key credentials for your consumer
Verify that the consumer credentials are valid
Use the following http commands to quickly enable the key-auth plugin on the httpbin service and configure consumer named Jason with an apikey of jasonkey
# Add the Key-Auth Plugin
http post localhost:8001/services/httpbin/plugins \
name=key-auth
# Add a Consumer
http post localhost:8001/consumers \
username=Jason
# Provision key credentials for your Consumer
http post localhost:8001/consumers/Jason/key-auth \