【问题标题】:Google Service Account key(json) and AWS Elastic BeanstalkGoogle 服务帐户密钥 (json) 和 AWS Elastic Beanstalk
【发布时间】:2018-06-30 13:49:25
【问题描述】:

我正在 AWS Elastic Beanstalk 上运行一个应用程序,并希望使用 Google Cloud Translation API。据我所知,唯一的身份验证选项是 Google 服务帐户。

https://cloud.google.com/video-intelligence/docs/common/auth

从这个链接说要安全地存储 json 文件。我该怎么做,但我的应用程序仍然可以访问它?据我所知,Elastic Beanstalk 中的所有内容都已发布到 Web。实现这一目标的最佳方法是什么?

【问题讨论】:

  • 您在应用中使用什么编程语言?

标签: amazon-web-services google-api amazon-elastic-beanstalk google-translate service-accounts


【解决方案1】:

根据您网站后端的实现方式,您可以将文件存储在安全的 S3 存储桶中,并在运行时从您的应用程序中读取内容。

【讨论】:

  • 谢谢,看起来可以,但我决定改用 API 密钥。
猜你喜欢
  • 2014-09-07
  • 2016-06-26
  • 1970-01-01
  • 1970-01-01
  • 2020-11-28
  • 2017-09-29
  • 1970-01-01
  • 1970-01-01
  • 2021-05-24
相关资源
最近更新 更多