File size: 206 Bytes
06c1e1a
 
 
 
 
 
1
2
3
4
5
6
7
import json

firebase_credential = os.getenv("FIREBASE_CREDENTIALS")
with open("serviceAccountKey.json", "w") as f:
    f.write(firebase_credential)
cred = credentials.Certificate("serviceAccountKey.json")