A URL anyone can use for expires seconds, without credentials, to
read (GET) or write (PUT) the object. The signature is in the query
string (AWS Signature Version 4).
Arguments
- key
Object key inside
bucket, or ans3://bucket/keyURL.- bucket
Bucket; defaults to the config's bucket (
S3PE_BUCKET).- expires
Validity in seconds, from 1 to 604800 (seven days).
- method
"GET"to share a download,"PUT"to accept an upload.- config
An
s3_config().