I am implementing the Google Maps API in one of my projects and I need help hiding my API keys before I deploy my app on Netlify. Currently I am using the API keys in a script tag posted down below.
<script async defer
src=`https://maps.googleapis.com/maps/api/js?key=${MY_API_KEY}&callback=initMap`
</script>
I am using pure vanilla JavaScript, and there are no frameworks or libraries being used. I have 3 files index.html, style.css and index.js. How should I go about achieving this?