【发布时间】:2019-02-21 21:40:41
【问题描述】:
我正在创建一个 shell 脚本来处理我们的一些工作流程的自动化, 此工作流程包括通过 Apache Beam GCP 访问 Google 存储桶。 我在我的服务帐户中使用 .json 文件,在哪些情况下我需要使用:
gcloud auth activate-service-account --key-file myfile.json
对
export GOOGLE_APPLICATION_CREDENTIALS=myfile.json
【问题讨论】:
标签: google-cloud-platform google-cloud-storage apache-beam