I want to create domain-named buckets in Google Cloud Storage.
I verified the ownership of the domain, and now I can create buckets with the particular names using my own account.
However, I also need to give permissions to some other developers and some service accounts to do the same thing, so I added those users as verified owners of the domain.
They can be seen on the users screen.
And on the page about the domain owners.
Yet, if I try to create the domain-named bucket with any of the added accounts (either if it's a real person's account or a service account), I get the following error.
10:46:35.447 Creating gs://bucket.mydomain.com/...
10:46:35.697 AccessDeniedException: 403 The bucket you tried to create is a domain name owned by another user.
(If I try to create the bucket from the web management console, I get a similar error.)
I verified that the accounts have permissions for the GCE project, so they can create buckets fine as long as they are not domain-named.
What am I doing wrong?
The docs point to an incorrect way of verifying ownership. For service accounts add them via https://www.google.com/webmasters/verification/home.
I figured it out after noticing different docs cover two similar sounding ways to verify ownership. I tried the page you have in your screenshots as its listed in the storage docs but then I found another set of steps listing yet another verification url. These are the steps which actually work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With