Closed
Description
What problem is this solving
Currently the environment variable needs to be configured be adding the file name of the service account. This obligates the developer to store those secret credentials in code. Being able to configure the admin setting from string (or environment variable) would solve this.
Proposed solution
Allow the following configuration:
admin: { serviceAccount: JSON.parse(process.env.FIREBASE_SERVICE_ACCOUNT), },
Describe alternatives you've considered
Adding the admin module directly within the Firebase configuration