Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

X-Owner-Meta

{username}

Required

Used by the tokenAdmin user to create a token on behalf of another user. An error is returned if any user other than the token administrator attempts to set this header.

By default, the owner of a token is the user that creates it.

X-User-Token-Expires-Meta

{time-specification}

Optional

Sets the expiration time for the authentication token. See below for ways that you may to express time.

If this header is not given, the default expiration time is set based on Gateway's tokenTTLHours configuration setting, which defaults to 24 hours after token creation.

X-User-Secret-Key-Meta

{string}

Optional

Sets an S3 secret key that is used for signing S3 requests. The token is used to sign S3 storage requests when this header is present. The token cannot be used to authenticate SCSP storage or Management API operations. Values of this string must follow Swarm metadata value rules for encoding, and 7-bit ASCII values are recommended.

X-Custom-Meta-{string}

{string}

Optional

Additional custom metadata that is saved with the token. This is for application-specific purposes and it is not interpreted by the Gateway during token creation or use.

X-Custom-Meta-Source

{string}

Optional

This metadata header is displayed as the Description of the token in the Content UI.

...