3. Security and Validation

query

Version

Extracts an API key from a URL query parameter. By default, the parameter name is api-key. If the parameter is present in the request URI, its value is returned as the API key. Parameter name matching is case-insensitive.

Example Configuration

- apiKey:
extractors:
- query: apikey # custom query param name
- apiKey:
     extractors:
       - query: apikey # custom query param name

Syntax

query: <string>
query: <string>

Can be used in