Craig
Craig

Reputation: 2153

Google Service Account key(json) and AWS Elastic Beanstalk

I am running an application on AWS Elastic Beanstalk and would like to use the Google Cloud Translation API. From what I can understand the only option for authentication is a Google Service Account.

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

From this link is says to store the json file securely. How do I do that but still have it accessible by my application? From what I know everything in Elastic Beanstalk is published to the web. What is the best way to accomplish this?

Upvotes: 3

Views: 1217

Answers (1)

Taylor Wood
Taylor Wood

Reputation: 16194

Depending on how your website backend is implemented, you could store the file in a secure S3 bucket and read the contents from your application at runtime.

Upvotes: 3

Related Questions