arif670 commited on
Commit
06c1e1a
·
verified ·
1 Parent(s): dbad9b8

Create serviceAccountKey.json

Browse files
Files changed (1) hide show
  1. serviceAccountKey.json +6 -0
serviceAccountKey.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ firebase_credential = os.getenv("FIREBASE_CREDENTIALS")
4
+ with open("serviceAccountKey.json", "w") as f:
5
+ f.write(firebase_credential)
6
+ cred = credentials.Certificate("serviceAccountKey.json")