pub async fn create_api_key(
pool: &PgPool,
tenant_id: Uuid,
req: CreateApiKeyRequest,
key_hash: &str,
key_prefix: &str,
) -> ProxyResult<ApiKeyRow>Expand description
Insert a new API key row (the raw key is never stored, only its hash).