I am trying to create maps custom visual to power bi and I try to add feature of search geo location to the map with auto-complete. To do the auto-complete, I intend to use api, specifically to you azure maps api. But, I don’t have a way to conceal the api key.
I tried to add environment variables to the visual but if I use dotenv.config() I get the error “ReferenceError: global is not defined” otherwise the process.env.API_KEY return “undefined”.
Is there is a way environment variables or otherwise to use secret in custom visual in pbiviz
יהונתן דוד סולימן is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.