Skip to content

firebase functions:config:set fails with uppercase environment variables #528

@tfesslerCWC

Description

@tfesslerCWC
  • Operating System version: Macos 10.14.4
  • Firebase SDK version: 6.9.1
  • Node JS Version: 8.16.0
  • Firebase Product: functions

Description:
UPPER CASE characters are required for some environment variables from some GOOGLE API's. The current version of the firebase admin for node prevents the use of uppercase characters.

Setting this configuration:
firebase functions:config:set GOOGLE_APPLICATION_CREDENTIALS="/Users/mickeymouse/functions/promotions-google-services.json"

Results in this error:
Error: Invalid config name GOOGLE_APPLICATION_CREDENTIALS, cannot use upper case

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions