← Back to team overview

openstack team mailing list archive

Re: Swift Container Name Restrictions


On Jan 24, 2012, at 5:22 PM, Matthew Wodrich wrote:

> Hi Folks,
> I'm trying to write some scripts to work with Swift containers, but I don't actually know what the restrictions on container names are.  Does anyone know what the specification is, or where I can read up on it?
> For example:
> What are the length requirements for container names? (Maximum/Minimum numbers of characters?)

min is one character, max is 256

> Starting character requirements?


> Allowable character sets?


> Disallowed characters?


> Disallowed patterns? (things like .., .-, -., --, ip address-like things, etc.)


> Anything else?

the container name can't contain a "/" since that would be the delimiter between the container and object name (eg /account/container/object)


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Follow ups