Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 939 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 939 Bytes

Quarkus API Key Filter Example

Explore this repository to learn how to implement a robust API key filter for securing your Quarkus-powered REST API. The example code demonstrates how to create a custom API key request filter using Quarkus, ensuring that only authorized clients can access your API endpoints. Follow the step-by-step guide and accompanying video tutorial to strengthen your API's security and build a solid foundation for your applications.

Start Up

To run the project, simply run

./gradlew quarkusDev

Testing

When the service is started, make an HTTP GET call to http://localhost:8080/hello and provide the required api key. E.g. with curl it could look like this:

curl -L 'localhost:8080/hello' -H 'x-api-key: my-api-key-1'