API Key Authentication
The notification HTTP endpoints use API key validation rather than JWT bearer tokens. This is because the endpoints are designed for machine-to-machine communication β called by other services in the platform, not by end users.
How It Worksβ
- The caller includes the API key in the
x-api-keyHTTP header - The function validates the key against the configured value
- If the key is invalid or missing, the function returns
401 Unauthorized
Configurationβ
The API key is stored in Azure App Configuration with a Key Vault reference, ensuring the secret is never stored in plain text or source code.
Why Not JWT?β
JWT authentication requires an identity provider (Entra ID) and a user context. For service-to-service calls within the platform, API key authentication is simpler and doesn't require token acquisition flows.