use pangolin-key prefix for virtual api keys

This commit is contained in:
miloschwartz
2026-08-13 15:22:18 -04:00
parent 4a9b0117a2
commit e580c7db7c
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -62,11 +62,6 @@ function parseVkCredential(
};
}
/**
* Extract a virtual API key credential from provider-style auth headers.
* Checks Authorization Bearer / Splunk, x-api-key, x-goog-api-key, and
* cf-aig-authorization. First matching vk-{id}.{secret} wins.
*/
export function extractVirtualApiKeyCredential(
headers: Record<string, string> | undefined
): VirtualApiKeyCredential | null {