Application settings for client applications

Hi

Is there any way to pass application settings to a client application? Like environment variables specific to the client application.

The context is that I would like to pass an api key to my application so that it can make calls towards an api.
The only way I could really achieve this was to add the api key as a query parameter in the applicaiton url and then read the key from my application. So something like this: "https://myapp.com?apikey=myApiKey"

Is there a best practice for how to handle this sort of situation and is there a setting that I've missed which allows me to do this in a better way?

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