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





Upload File On The S3 Bucket




Picture showing a file is uploaded on S3 bucket



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




Picture showing generating the Presigned URL using CLI



Output


Picture showing accessing the file over the presigned URL





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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250