I am using
wp_localize_script() to add variables from my config.ini file to my inline JS code (inside HTML block element of Elementor) [Please see this for reference]
But this method is unsafe to add Security keys because these variables can be accessed via console. How can I add API security keys to my JS code securely? Is there any way I can achieve this? Thank you in advance.