如何私有部署Firebase云功能

时间:2020-05-20 13:24:19

标签: firebase google-cloud-functions firebase-cli

当我使用firebase deploy --only functions为Firebase部署云功能时,我发现此功能是使用身份验证标志allUsers进行部署的。

here 所述,我如何默认使用私有部署Firebase云功能?

1 个答案:

答案 0 :(得分:0)

无法通过Firebase CLI设置此Cloud Functions的访问控制级别。当前确实确实总是设置access to allow all users。听起来这似乎是允许对此进行控制的合理要求,所以我会file a feature request并可能在存储库上使用PR。

现在:如果要设置此访问级别,则必须按照controlling access on a function上Google Cloud文档中的说明在Cloud控制台中进行设置。