To configure a pre-signed URL, use the presign command following this syntax:
This command contains the following attributes that you need to specify:
profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
s3://BUCKET/OBJECT: The path to the object you want to share in its bucket.
expires-in: The time left before the URL expires, in seconds.
The maximum duration of a pre-signed URL is:
- For OOS: 604800 seconds (or 1 week)
- For OSU: 31536000 seconds (or 1 year)
endpoint: The endpoint corresponding to the service (
osu) and Region you want to send the request to, in the following format: https://<SERVICE>.<REGION>.outscale.com
The presign command returns the following element:
URL: The URL at which your object is available.
Skip to end of banner Go to start of banner Skip to end of metadata Go to start of metadata