Section – API Policy

The API Policy Service is an Airlock API Gateway service, providing information on API subscriptions for Tech-Clients. This information can be used for access control and rate limiting.

ON/OFF radio buttons:

  • To enable API Policy Service for a mapping, set the radio button to ON. By default, API Policy Service is OFF (disabled).

GUI

Description

API Policy Service

Select an API Policy Service from the drop-down list.

Configure API Policy Services here: Section – API Policy Services

Extract header

Enable to extract an API key from a specific header.

Set an extraction pattern and rewrite when enabled.

Header extraction pattern

Specify an extraction pattern here.

Rewrite to

Add a rewrite here.

Extract query parameter

If enabled Airlock Gateway will extract the API key from the specific query parameter.

Parameter name

Insert a query parameter name here.

Extract cookie value

If enabled Airlock Gateway will extract the API key from the named cookie.

Cookie name

Insert a cookie name here.

 
Notice

If more than one token matches the extraction pattern, only the first token will be considered.

Further information and links