firebase function pass environment const code example
Example 1: view firebase functions config
firebase functions:config:get
Example 2: firebase functions config
firebase functions:config:set someservice.key="THE API KEY" someservice.id="THE CLIENT ID"