Skip to main content

Bucket and Key Naming Policies

It is recommended to use bucket names that comply with DNS naming conventions:

  • 3 to 63 characters long.
  • Start and end with a lowercase letter or number.
  • Contain lowercase letters, numbers, periods (.), hyphens (-), and underscores (_).
  • Can be a series of valid name parts (described previously) separated by periods.
note
  • Bucket names must be unique. Otherwise you may get an error.

An object key can be a string of any UTF-8 encoded characters up to 1024 bytes long.