In my application, I use the Google Cloud Translation service.
On my developer machine, I have the Google credentials environment variable installed.
However, when deployed, my application throws the following error:
The Application Default Credentials are not available.
The Environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined.
They are avaiable if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
I thought that the credentials are automatically compiled into my application.
What might be the error here?
Thank you!