【发布时间】:2014-11-01 01:19:07
【问题描述】:
我正在尝试运行 gsutil 命令来列出 Google Cloud Storage 上存储桶中的内容。我几乎可以肯定该命令没有任何问题。
我得到的错误是:
CommandException: You have multiple types of configured credentials (['Oauth 2.0 User Account', 'OAuth 2.0 Service Account']), which is not supported. For more help, see "gsutil help creds".
我已阅读“gsutil help creds”中的详细信息,但其中仅包含四种凭据类型的高级定义,没有帮助。
阅读错误消息,似乎我基本上需要删除“已配置凭据”之一,在这种情况下,我想删除“Oauth 2.0 用户帐户”凭据。并使用“OAuth 2.0 服务帐号”。
因此,我查看了包含自动生成的配置凭据的“.boto”文件,但看起来没有可以编辑的 Oauth 2.0 用户帐户。
我还尝试在 Google 的开发者控制台中挖掘以删除 Oauth 2.0 用户帐户,但我无法做到。
基本上,我的问题(假设它是正确的问题),如何删除 Google Cloud Platform 中的“Oauth 2.0 用户帐户”凭据?
【问题讨论】:
标签: oauth google-oauth google-cloud-storage gsutil google-cloud-platform