我想在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?
什麼命令/參數/設置我必須使用情況的提示?