我想在Windows、Mac和Linux上激活它,作为CI管道的一部分。为此,我这样做: gcloudauthactivate-service-account --key-file=.在Winddows上,我得到以下错误: ERROR: (gcloud.auth.activate-service-account) Could not read json file C:\Users\appveyor\token.json: No JSON object could b
We recommend configuring the billing/quota_project setting in gcloud or using a service account throughthe auth/impersonate_service_account setting.We recommend configuring the billing/quota_project setting in gcloud or using a service account throughthe <em
当您使用gcloud命令行界面创建一个Google Cloud服务帐户时,会有一个用于创建密钥的gcloud iam service-accounts keys create。或者,您是否还需要调用:
gcloudauthactivate-service-account <IAM> --key-file=<JSON file from the keys create command
我运行gcloudauthactivate-service-account --key-file=pathtokeygcloud compute scp sdfsdfsdfsdf.txtWARNING: The public SSH key file for gcloud does not exist.WARNING: You do not have an SSH key for gcloud.WARNING: SSH keygen will be executed t
我有一个项目,其中我需要使用gcloud命令,我需要使用适当的凭据进行构建,似乎gcloud命令没有使用变量GOOGLE_APPLICATION_CREDENTIALS,所以我在docker的RUN步骤中设置了auth FROM google/cloud-sdkWORKDIR /usr/src/app
RUN gcloudauthactivate-service-accoun