【发布时间】:2020-01-09 03:06:30
【问题描述】:
我有一个循环的 Cron 调度程序,它调用 Google Cloud Platform App Engine Flex Service(.net 核心 Web API 说 APP1)中的一个方法,该方法又调用我们的另一个 Google Cloud Platform App Engine Flex Services(另一个 .net核心 Web API 说 APP2)端点(例如:/v1/api/test)
我的问题是我将如何限制对这个特定 APP2 端点的访问仅限于 APP1?我必须使用 Cloud Endpoints 来实现这一点吗?请记住,APP2 还有其他对公众开放的端点。
【问题讨论】:
-
云端点可能是您最好的选择,因为它们本机支持这一点,或者您可以实现您的身份验证机制,可能使用服务帐户凭据
标签: google-app-engine .net-core google-cloud-platform