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 :: store environment variables in firebase functions 
Shell :: how to switch branches git 
Shell :: docker no pg_hba.conf entry for host SSL off 
Shell :: ngrok sing up 
Shell :: delete a git branch 
Shell :: WSL with VPN 
Shell :: how to install npm packages globally 
Shell :: tailwind installation 
Shell :: debian 10 sources 
Shell :: install node on fish-shell 
Shell :: how to view the list of your environments in your terminal or Anaconda prompt 
Shell :: bash here document example 
Shell :: get until last match 
Shell :: what is a shebang line 
Shell :: unittest run specific test 
Shell :: command used to install django cms 
Shell :: nano enable syntax highlighting 
Shell :: pyinstaller dmg on mac 
Shell :: nginx on ubuntu 
Shell :: remote: Permission to asfand005/test.git denied to asfand87. 
Shell :: start vagrant 
Shell :: vpn server setup 
Shell :: falha ao instalar arquivo não há suporte ubuntu 
Shell :: chocolatey cmd 
Shell :: command to transform to asci code bash 
Shell :: create a ew remote tracking branch 
Shell :: Windows 10 - Get a list of installed apps into a text file 
Shell :: format flash drive linux 
Shell :: changng truffle build directory 
Shell :: How To Create Notification Using Batch Script 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =