Just tried this:
firebase functions:config:set firebase.webapikey="XXXXX"
Error: Cannot set to reserved namespace firebase
Error is clear. So I tried this:
firebase functions:config:set firebaseapis.web="XXXX"
ā Functions config updated.
Please deploy your functions for the change to take effect by running firebase deploy --only functions
Good, no errors. However:
carlos@carlos-linux-dev:~/firestore_experiments$ firebase functions:config:get |grep firebase
carlos@carlos-linux-dev:~/firestore_experiments$
So that key wasn't actually stored. However if change it to something else:
dev:~/firestore_experiments$firebase functions:config:set pithole.web="XXXX"
ā Functions config updated.
Please deploy your functions for the change to take effect by running firebase deploy --only functions
carlos@carlos-linux-dev:~/firestore_experiments$ firebase functions:config:get |grep pithole
"pithole": {
I couldn't find any reference in the documentation about this, seems like a bug... is this actually intended behavior?
And more to the point, is the Web API available automatically to a Firebase project oo is it something that indeed needs to be copy/pasted from the console?