?
Sign a link
Mints a signed link to a private file.
admin.files.sign({ store: "handoff", key, ttl: 86400, private: true })
Mints an expiring signed URL for a private object, so you can hand a file to someone with no session. Pass a TTL; the link stops working when it expires or the object is removed.
Parameters
--store
string
RequiredThe private store holding the object.
--key
string
RequiredThe object's key.
--ttl
number
Link lifetime in seconds.
CLI
remy-admin files sign --private --store handoff --key <key> --ttl 86400