Articles → AWS → Create A Presigned URL Using AWS CLI

Create A Presigned URL Using AWS CLI






S3 Bucket




Picture showing the S3 bucket created in AWS console
Click to Enlarge




Upload File On The S3 Bucket




Picture showing a file is uploaded on S3 bucket
Click to Enlarge


Generate Presigned URL




aws s3 presign <S3 URI> --expires-in <Time In Minutes>




Picture showing the S3 URI of the object uploaded on S3 bucket
Click to Enlarge



Picture showing generating the Presigned URL using CLI
Click to Enlarge


Output


Picture showing accessing the file over the presigned URL
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, August 2, 2022

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250