API token format

v1 token

<v1-token> ::= <secret>

<secret> ::= {<lc-alphanum>} ; length>45

<lc-alphanum> ::= [a-z0-9]

v2 token

<v2-token> ::= "v2/" <uuid> "/" <secret> [ "/" <container_uuid> ]

<secret> ::= {<lc-alphanum>} ; length>45

<lc-alphanum> ::= [a-z0-9]

v2 token, salted

<v2-token> ::= "v2/" <uuid> "/" <secret> [ "/" <container_uuid> ]

<secret> ::= {<lc-hex-digit>} ; length=40

<lc-hex-digit> ::= [a-f0-9]