Skip to content

Instantly share code, notes, and snippets.

@minmur
Last active February 3, 2019 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minmur/921c9e14d3deb6c6d4a03f4bdf799ddd to your computer and use it in GitHub Desktop.
Save minmur/921c9e14d3deb6c6d4a03f4bdf799ddd to your computer and use it in GitHub Desktop.
Firebase - seting config

To set config from json file:

 firebase functions:config:set service_account="$(< credentials.json)"

To set config localy:

 firebase functions:config:get > .runtimeconfig.json

After that move .runtimeconfig.json to functions directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment