by XDK
3. October 2019 21:48
Explanation:
Following is the AWS CLI command
aws s3 presign <bucket URL> --expires-in <duration in seconds> --region <location name>
Example:
aws configure set default.s3.signature_version s3v4
aws s3 presign s3://xdk-bucket/xdkimage.jpg --expires-in 600 --region eu-east-1