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.

Section - API Policy

UI

Description

Enable API Policy Service

Activate this checkbox to protect your API using the Airlock API Policy Service.

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.

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