Slide 27
Slide 27 text
THE CLOUD CONNECTIVITY COMPANY
27
© Kong Inc. 27
• Create Consumer, API Keys and ACL Group
Demo - 3 - Whitelist/Blacklist
# Set up API Key Authentication policy on Canary route.
# This is used to identify our consumers.
http http://localhost:8001/routes/canary-api-route/plugins name=key-auth
# Create Consumers, API Keys and add them to ACL groups
http http://localhost:8001/consumers username=vip-consumer
http http://localhost:8001/consumers/vip-consumer/key-auth key=vip-api
http http://localhost:8001/consumers/vip-consumer/acls group=vip-acl
http http://localhost:8001/consumers username=general-consumer
http http://localhost:8001/consumers/general-consumer/key-auth key=general-api
http http://localhost:8001/consumers/general-consumer/acls group=general-acl