Overview
What is its Purpose?
- Verifies the digital signature to ensure that the content of requests passing through
API Proxyhas not been altered. - Checks the key or certificate used in signature generation to prove that the request actually comes from an authorized client.
- Enables applying separate verification rules for different endpoints or payload types through multiple signature definitions.
- Provides compatibility with different signature formats by dynamically determining the signature verification algorithm.
Working Principle
- Request Arrival: For each HTTP/HTTPS request arriving at the API Gateway, the source IP address of the request is identified.
- Policy Check: If the Digital Signature Verification policy is active, the system checks in the following order:
- Is a Condition defined? If so, is the condition met?
- Is the policy active (active=true)?
- Is a Variable being used or is Apinizer default?
- Digital Signature Verification Check: For each defined verification input, the signature variable in the request is retrieved, the source data is resolved with the selected algorithm (specified or read from variable), and the signature is verified with the selected key/certificate. The input is decoded according to BASE64 or HEX encoding.
- Decision Making:
- Match Found: If the signature is verified for all definitions, the request continues in the processing flow.
- No Match: If any definition fails, the request is stopped and the configured error message is returned.
- Error Handling: Customizable HTTP status code and error message are returned for requests that do not comply with the policy rule.
Features and Capabilities
Basic Features
- Multiple Signature Definition Management: Multiple digital signature verification inputs can be defined for different payload or endpoint combinations; each input works with independent parameters.
- Dynamic Algorithm Selection: The signature algorithm can be determined as a fixed value or automatically retrieved from variables in the request, providing compatibility with different signing strategies.
- Secret Key and Certificate Integration: Crypto Keys or certificates are selected from Secret Manager, providing security compatible with centralized key management.
- Active/Passive Status Control: Easily change the active or passive status of the policy (active/passive toggle). In passive mode, the policy is not applied but its configuration is preserved.
- Condition-Based Application: Determine when the policy will be applied by creating complex conditions with Query Builder (e.g., only for specific endpoints or header values).
Advanced Features
- Variable-Based Signature Resolution: Signature and source data are selected from the global variable store, enabling parametric verification during runtime.
- Algorithm Discovery: FIND mode reads the signature algorithm from the request content, supporting multiple clients with the same policy.
- Revoked Certificate Warning: Revoked certificates are marked in red in the list screen, preventing reuse of invalid certificates.
- Export/Import Feature: Export policy configuration as a ZIP file. Import to different environments (Development, Test, Production). Version control and backup capability.
- Policy Group and Proxy Group Support: Manage multiple policies within Policy Group. Bulk policy assignment to Proxy Groups. Centralized update and deploy operations.
- Deploy and Versioning: Deploy policy changes to live environment. See which API Proxies use it (Policy Usage). Proxy Group and Policy Group usage reports.
Usage Scenarios
Configuring Policy Parameters
In this step, users can create a new policy or configure existing policy parameters to define access rules. The defined parameters directly affect how the policy works (e.g., which IPs will be allowed, geographical restrictions, conditional activations, etc.). This allows the policy to be customized according to organization-specific requirements while being centrally manageable.Creating a New Digital Signature Verification Policy

Configuration Steps
For descriptions of Conditions and Error Message Customization panels, you can review the Conditions and Error Message Customization sections on the What is Policy? page.
For a complete guide on all layers, priority order and scenario examples of the error message configuration system, see the Error Message Configuration Guide page.

