google-cloud-platform - 授予您的原始帐户目标服务帐户上的服务帐户令牌创建者角色
问题描述
我使用以下命令在 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.
但是,在云上,我确实授予了如下所示的权限
授权列表
解决方案
推荐阅读
- amazon-web-services - AWS API Gateway - Lambda - 内部服务器错误
- java - 在多线程环境中使用 for 循环避免 ConcurrentModificationException
- postgresql - 将 Ansible 返回值映射到第二个任务
- swift - Vapor:如何协调多个请求,直到完成一个中心请求
- javascript - 每次点击创建单独和独特的工具提示
- javascript - 使用 for 循环创建变量
- python - MongoEngine Python AttributeError
- swift - 使用 SwiftUI 将 TextField 添加到 NavigationBar
- copy-paste - 如何将多行从一个 DOORS 模块转移复制到另一个 DOORS 模块?
- backslash - 点液体如何转义反斜杠