Google Maps API key (theme)

How are you storing the Google Maps API key for a sage 9 theme?
Currently it is made available as GOOGLE_MAPS_KEY PHP constant inside a site plugin.
Should it be treated like a secret, in vault for staging/production or in .env for development?

Edit: Also, how are you managing these API keys for multiple plugins on all the WordPress sites?
One Google API project per site? One Google account with project per site? (Google API Console)
Many plugins require manual entry of the API key (no filter or env/constant used), then one cannot take advantage of a single setting/constant.