Horje
store environment variables firebase functions Code Example
store environment variables firebase functions
$ 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;
Source: dev.to




Shell

Related
get last modified date pdf online Code Example get last modified date pdf online Code Example
vscode Module 'cv2' has no 'imshow' member Code Example vscode Module 'cv2' has no 'imshow' member Code Example
bring job number to foreground linux Code Example bring job number to foreground linux Code Example
double dollar sign bash Code Example double dollar sign bash Code Example
bash for loop multiple statements Code Example bash for loop multiple statements Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15