即使经过验证也无法创建基于域的存储桶 [英] Unable to create domain-based bucket even after verification

查看:81
本文介绍了即使经过验证也无法创建基于域的存储桶的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的帐户可以访问顶级域的Google网站站长工具,并且我还验证了该子域以及子子域,但是当我尝试使用我拥有的任何域创建新存储桶时据证实,我得到您尝试创建的存储桶是另一个用户拥有的域名."

My account has access to the Google Webmaster Tools for the top level domain, and I've also verified the subdomain as well as sub-subdomain, but when I try to create a new bucket with any of the domains I've supposedly verified, I get "The bucket you tried to create is a domain name owned by another user."

还有什么我想念的吗?

推荐答案

听起来,创建存储区的帐户与拥有域的帐户不同.您的个人帐户是否拥有域名?如果是这样,您如何针对Google Cloud Storage授权?您是否正在使用服务帐户?使用服务帐户而不是实际帐户很容易找到自己.例如,如果您正在使用GCE实例中的gsutil并使用默认凭据,则将授权您作为与该项目关联的服务帐户,而不是您自己.

It sounds like the account creating the bucket is different than the account that owns the domain. Does your personal account own the domain? If so, how are you authorizing against Google Cloud Storage? Are you perhaps using a service account? It's very easy to find yourself using a service account instead of your actual account. For instance, if you are using gsutil from a GCE instance and are using the default credentials, that would authorize you as the service account associated with that project and not yourself.

如果是这种情况,则可以通过两种方法解决此问题.在 Google网站管理员工具中将服务帐户添加为所有者,或者切换出gsutil是哪个帐户充当(请参见"gsutil config"命令).

If this is the case, you could fix this in a couple of ways. Either add the service account as an owner in Google Webmaster Tools, or switch out which account gsutil is acting as (see the "gsutil config" command).

这篇关于即使经过验证也无法创建基于域的存储桶的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆