Wednesday, February 21, 2024
HomeSoftware EngineeringTips on how to Presign an S3 URL in AWS utilizing AWS...

Tips on how to Presign an S3 URL in AWS utilizing AWS CLI


You need to use the AWS CLI to presign URLs in order that objects in S3 will be shared publicly even when they’re set as personal.

Presigned URLs are nice for sharing personal recordsdata in an S3 bucket

aws s3 presign s3://<bucket>/<file.jpg>

This will also be coupled with an expiry period:

aws s3 presign s3://<bucket>/<file.jpg> --expires-in 3600
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments