How to hide API Key from ZOOM Web SDK

I want to hide API Key in my WEB-SDK. i already hide API SECREAT. but i don’t know how to hide API KEY using backend language (PHP)

 var testTool = window.testTool;
var displayName = $("#display_name").val();
if (testTool.isMobileDevice()) {
    vConsole = new VConsole();
}
console.log("checkSystemRequirements");
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

ZoomMtg.preLoadWasm(); // pre download wasm file to save time.
//
var API_KEY = "AbEgbn36S4O4sbnw9O7V7Q";

// some help code, remember mn, pwd, lang to cookie, and autofill.
document.getElementById("display_name").value = displayName;

document.getElementById("meeting_number").value = testTool.getCookie(
    "meeting_number"
);
document.getElementById("meeting_pwd").value = testTool.getCookie(
    "meeting_pwd"
);

@tommy I need your help !!!

Hi @digix.sameera,

There’s no need to hide your API key, as long as your secret is hidden.

The API key is required within the Javascript functions used to join the meeting, and this will be visible to the public, no matter what you do.

Thanks,
Alex

2 Likes

Agreed. Thanks @alexmayo

1 Like

Hey @digix.sameera,

I can confirm that @alexmayo is correct. Thanks again @alexmayo!

Thanks,
Max

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.