How do presigned URLs work?
IntermediateConceptStorage and Databases
Answer
A presigned URL embeds a SigV4 signature made with the signer's credentials, granting temporary access to one operation (GET or PUT) on one object. It has the permissions of the signer and expires at the earlier of the URL expiry (max 7 days with IAM user keys) or the signing credential's expiry (for role sessions, as short as the session).
aws s3 presign s3://acme-data/report.pdf --expires-in 900
If the signing identity loses permission, the URL stops working.
More on Storage and Databases
Compare the S3 storage classes.BeginnerWhat is S3's consistency model?IntermediateHow does S3 versioning and delete work?BeginnerHow do S3 lifecycle rules work?IntermediateHow do bucket policies, ACLs and Block Public Access interact?IntermediateWhat are the S3 server-side encryption options?Advanced