相关问题:

我有一个App Engine标准(Python)环境(使用webapp2),它将调用Cloud Endpoint(不需要用户身份验证,但调用必须是服务到服务的安全),我想对如何进行一些澄清使用适用于App Engine Standard的Cloud Endpoint Framework执行此操作 .

如果我使用上面(2)中描述的方法,这是否意味着我必须手动编辑使用安全定义从 lib/endpoints/endpointscfg.py get_openapi_spect 生成的openapi.json文件?文档似乎更倾向于使用针对OpenApi的Cloud Endpoints的GCE和App Engine Flex环境,因此我是否必须编辑 @endpoints.api 配置令人困惑 .

或者,鉴于我正在从App Engine Standard环境进行调用,我是否能够使用urlfetch和AppIdentity:https://cloud.google.com/appengine/docs/standard/python/appidentity/并断言 endpoints 的身份?如果是这样,配置会是什么样的?