According to this page (https://developers.google.com/console/help/new/#apikeybestpractices), it's recommended that api keys be stored in "environment variables" instead of "embedding your API keys in your application".
To me that means the same thing
Can I add an API key as a global/local variable with peace of mind?
I'll keep it as a local variable that only triggers just before it's needed. Thoughts?
Thanks.