exoscale.compute.api.expiry

Date manipulation functions.

args

(args ttl)(args ttl from)

Builds the expires argument map. Expiration is in seconds. When expiry is provided, promote a request payload to V3 signatures.

base-payload

Expires need to be provided in conjunction with signature V3

cloudstack-format

Date format used by Cloudstack

default-ttl

Default to 5 minute expiry

limit

(limit from ttl)

Compute date of request validity expiry