How to add a json file to my site without adding it to github

Hi Hrishikesh
I am currently using it as an environment variable and I get this error message

Service account object must contain a string “private_key” property.

But I am using the same key that I am using on my local host… I’ve seen this post on netlify that mentioned the issue with the ‘\n’ character in the private key… Using Firebase Admin SDK with Lambda Function

But I am not sure how to use their solution… there’s a mention of using JSON.parse() but I could not really understand it…

Please do advise… my site name is ‘world-eyewear-store’, if that helps…

Regards,
Alim