Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

store environment variables firebase

$ cd project_directory
$ cd functions
$ firebase functions:config:set api_key1="YOUR_API_KEY1" api_key2="YOUR_API_KEY2"

// Accessing the Keys in Code

const functions = require('firebase-functions');

const api_key1  = functions.config().api_key1;
const api_key2  = functions.config().api_key2;
Comment

PREVIOUS NEXT
Code Example
Shell :: force docker for a clean build of an image 
Shell :: cmd run exe as service 
Shell :: sudo gem install cocoapods-deintegrate cocoapods-clean 
Shell :: split vim window 
Shell :: bash if number greater than zero 
Shell :: install vim in vs 
Shell :: react bootstrap 
Shell :: git rebase feature branch 
Shell :: rename all files starting with in linux 
Shell :: getcomposer.org download 
Shell :: merge pdf in linux 
Shell :: ubuntu gitlab 
Shell :: print first word of each line by grep 
Shell :: cannot reindex from a duplicate axis 
Shell :: force-logout user linux 
Shell :: how to show a tag in git 
Shell :: git reset hard directory 
Shell :: expo cli 
Shell :: git rebase onto 
Shell :: libuuid 
Shell :: daily bing ubuntu 
Shell :: restart nginx windows 
Shell :: create dektop file in ubuntu 
Shell :: get symbols from library 
Shell :: import database via power shell 
Shell :: time machine logs 
Shell :: Error: path "" is not a descendant of mount point root "" and cannot be exposed from 
Shell :: chere cygwin 
Shell :: get rasbien version 
Shell :: do something file not in the folder 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =