Why doesn't granting 'allAuthenticatedUsers' member the 'Cloud Functions Invoker' role work for google cloud functions?

后端 未结 3 1348
-上瘾入骨i
-上瘾入骨i 2021-01-23 17:11

According to the Google documentation, The \'allAuthenticatedUsers\' member would include anybody that is authenticated included regular gmail accounts. So I gave that member th

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-23 17:31

    You can apply this role on a single function.

    If you want to secure all your resources on your project, I mean, if you don't want to allow allUsers on GCP resources like Function, Cloud Run, Storage (...), you can activate the Domain Restriction Sharing Policy (DRS). With it, allUsers is forbidden.

提交回复
热议问题