How to let specific API to run write/read requests on firestore?
问题 Today I have the following rule on my firestore: service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if request.auth.uid != null; } } } I can't execute requests from my API since it's not sign in (is there any way to auth through CLI only?). But I want to make sure that only my API make these requests. Is there any way to add a specific header on my request and validate it on firebase rules? If this is not the best approach, which one