I want to uncheck "Allow unauthenticated invocations" in my newly created cloud function. I can do it from console. But i want it to be done via command prompt(firebase deploy). I am looking out for some field/attribute which i can add while deploying the cloud function. Please help me with this issue.
1
-
2It's not possible today. Please file a feature request with Firebase support. You can also use gcloud to deploy your functions, but you will not be able to use the firebase-functions module. support.google.com/firebase/contact/supportDoug Stevenson– Doug Stevenson2019-12-16 16:32:18 +00:00Commented Dec 16, 2019 at 16:32
Add a comment
|
1 Answer
Unfortunately, at the time of writing, the public invocation policy is hard coded into the firebase-tools CLI.
The code in question can be found in firebase-tools/src/deploy/functions/release.js.