pub async fn get_api_key_for_tenant( pool: &PgPool, id: Uuid, tenant_id: Uuid, ) -> ProxyResult<Option<ApiKey>>
Fetch an API key scoped to a tenant.