API-Key in jwt.cpp #215
Replies: 2 comments 2 replies
-
You should consult the Google document. It does not a typical key for controlling the security which you or anyone to aware of. |
Beta Was this translation helpful? Give feedback.
-
If you mean this FirebaseClient/src/core/JWT/JWT.cpp Line 156 in f9f3353 It is the base64 encoded string of JWT header The only thing that is security concern is the private key in the service account was used when you want admin rights access without user consent in non-UI device, which you have to include in the source code or transfer to your device by any mean which any one can hack this information even you can revoke it. FirebaseClient/src/core/JWT/JWT.cpp Lines 240 to 245 in f9f3353 But you have the alternative ways of secure usage by using the short-live tokens. As you know the security rules are used for security control in Firebase services, but it bypassed by admin account (service account). |
Beta Was this translation helpful? Give feedback.
-
In the file jwt.cpp in line 156 an api key is defined
If I check this into my repo into GitHub gitguardian (gitguardian.com) checks this and I get a report from gitguardian, that it is not recommended to store api secret key's in GitHub for security reasons.
So my question:
What is this for a api key and is it required and necessary to store this in the source code ?
Beta Was this translation helpful? Give feedback.
All reactions