【发布时间】:2020-01-03 21:46:14
【问题描述】:
我想使用服务凭证文件使用 gsutil 从谷歌云存储中读取数据。 但是我真的不明白如何将权限文件传递给它。 我试过跑步 “gcloud auth activate-service-account [ACCOUNT] --key-file=KEY_FILE” 然后运行“gsutil list”。但是我得到以下输出
You are attempting to perform an operation that requires a project id, with none configured. Please re-run gsutil config and make sure to follow the instructions for finding and entering your default project id.
通过 gcloud 进行身份验证后,我应该能够使用 gsutil
【问题讨论】:
标签: google-cloud-platform google-cloud-storage