Skip to main content

Secure your route with Api keys

Add Api Keys plugin

Now, let's create a new secured route with ApiKeys plugin.

First, fill all the route information you need to set up your route.

You need to fill the following fields : path, operationID and the Method

The next step is to add the plugin route and to configure it.

Click on Add plugin and then search for apikeys plugin

Click on Add Apikeys plugin as shown on the screenshot.

Now, you can just click on Check and validate config then on Add plugin final button

As shown on the screenshot below, you can now see your configured Apikeys plugin

Add your backend information and then click on Submitto save your route changes

BE CAREFUL : do not forget to push your changes to github

Your route is now ready to be deployed and.

Check this tutorial in order to create new api keys and this other tutorial to test your newly created route.