[HN Gopher] GCP Bucket Name Restrictions
___________________________________________________________________
GCP Bucket Name Restrictions
I was creating a bucket on GCP and noticed what I thought was an
odd restriction[0]: > Bucket names cannot begin with the "goog"
prefix. > Bucket names cannot contain "google" or close
misspellings, such as "g00gle". I'm mostly just curious about the
motivation behind these restrictions. My guess is that it's to
avoid buckets that make it seem like they're owned by google, but
there doesn't seem to be equivalent restrictions on azure[1] or
aws[2] (they do disallow the prefix "xn--" and the suffix
"-s3alias", but these seem functional.) Is there some other
reasoning? [0] https://cloud.google.com/storage/docs/naming-
buckets [1] https://docs.microsoft.com/en-
us/rest/api/storageservices/naming-and-referencing-containers--
blobs--and-metadata [2] https://docs.aws.amazon.com/AmazonS3/lates
t/userguide/bucketnamingrules.html
Author : eeegnu
Score : 5 points
Date : 2021-12-18 21:35 UTC (1 hours ago)
| prirun wrote:
| > guess is that it's to avoid buckets that make it seem like
| they're owned by google
|
| You might be right, though that is kinda silly because it's
| trivial to add a cname dns alias to a bucket that looks like a
| googly name.
___________________________________________________________________
(page generated 2021-12-18 23:01 UTC)