我想在Docker容器中使用gsutil。我已经创建了O2Auth服务帐户JSON文件。Google gsutil auth without prompt
如何设置gsutil auth以使用JSON配置文件并在不提示的情况下执行命令?
目前我得到的是这样的:
$ gsutil config -e
It looks like you are trying to run "/.../google-cloud-sdk/bin/bootstrapping/gsutil.py config".
The "config" command is no longer needed with the Cloud SDK.
To authenticate, run: gcloud auth login
Really run this command? (y/N) y
This command will create a boto config file at /.../.boto
containing your credentials, based on your responses to the following questions.
What is the full path to your private key file?
什么命令/参数/设置我必须使用情况的提示?