X-Unkey-Principal header yourself to test your application’s authentication handling without running the gateway.
To verify real API keys and let Frontline generate the header, run the
local gateway with Docker Compose.
Local development
Test your application’s Principal header handling locally without running the gateway. Mock the identity object for local development and testing.
The Principal is plain JSON with no encryption or signing. During local development, you can set the
Last modified on September 22, 2026