【发布时间】:2020-12-29 13:02:13
【问题描述】:
我需要将环境变量 GOOGLE_APPLICATION_CREDENTIALS 设置为 .json 格式,例如 service-account-file.json,但我不能。 我试过这个https://elements.heroku.com/buildpacks/buyersight/heroku-google-application-credentials-buildpack 和这个https://github.com/gerywahyunugraha/heroku-google-application-credentials-buildpack 但它不起作用。Heroku => java.io.IOException:从环境变量 GOOGLE_APPLICATION_CREDENTIALS 读取凭据文件时出错,值“google-credentials.json”:文件不存在。
【问题讨论】:
标签: heroku