向您的原始帐户授予目标服务帐户上的服务帐户令牌创建者角色

时间:2021-03-04 06:57:40

标签: google-cloud-platform google-cloud-storage gcloud service-accounts google-iam

我使用以下命令在 MAC OS 终端中进行身份验证

gcloud auth login

它重定向到谷歌登录页面并显示身份验证过程成功。

使用命令时

gsutil -i fetebird-storage@fetebird.iam.gserviceaccount.com ls

获取异常

AccessDeniedException: Service account impersonation failed. Please go to the Google Cloud Platform Console (https://cloud.google.com/console), select IAM & admin, then Service Accounts, and grant your originating account the Service Account Token Creator role on the target service account.

但是,在云上我确实授予了如下所示的权限

enter image description here

enter image description here

授权列表

enter image description here

0 个答案:

没有答案