Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

env file in 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 :: how to switch branches git 
Shell :: git remove file from being tracked 
Shell :: sequence of png images to mp4 
Shell :: Meaning of the GitHub message: push declined due to email privacy restrictions 
Shell :: delete a folder then git push 
Shell :: debian restart service 
Shell :: git backtrack to commit 
Shell :: git rebase head 
Shell :: github.com api 
Shell :: linux grep 
Shell :: svelte getting started typescript 
Shell :: bash assign array to variable 
Shell :: github deploy server 
Shell :: bash for 
Shell :: create flutter project 
Shell :: skip ci gitlab 
Shell :: yarn install package 
Shell :: ansible Permission denied (publickey,password). 
Shell :: what is user in linux? 
Shell :: fix drive readonly in linux 
Shell :: ubuntu set deepin terminal as default 
Shell :: deno bundler 
Shell :: install mavros on ubuntu 
Shell :: update snaps 
Shell :: colcon select package 
Shell :: linux microcore static ip 
Shell :: git init set upstream 
Shell :: ubuntu uninstall thunderbird 
Shell :: get ssm version 
Shell :: view rpm info 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =