pub fn build_apikey( secret: String, cert: JsValue, signature: JsValue, ) -> Result<JsValue, JsString>