我使用以下命令在 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.
但是,在云上我确实授予了如下所示的权限
授权列表