I am trying to use the MailChimp API in my react website that is hosted on Google Firebase. I am trying to store my API keys using cloud function and the environment configuration. However, I am not entirely certain how to access those configuration variables after I set them. Are those variables made global throughout my entire react app, or do I need to import them somehow?
I am trying to the follow the documentation listed here: https://firebase.google.com/docs/functions/config-env
Here is what my file structure looks like: