Interview Prep/AWS/Storage and Databases

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.

aws All AWS questions Roadmap: AWS core services

More on Storage and Databases