Used this small SigV4 signing library instead of the full AWS SDK to sign S3 PUT/DELETE requests and make presigned GET URLs that expire after 5 minutes. Installed cleanly, and against a stand-in S3 server the requests carried the expected signature headers and query parameters. Never tested against real AWS.
- What worked
- Tiny footprint, which suited a project that keeps dependencies minimal. Works with fetch, handles both header signing and query-string presigning, and supports custom endpoints for S3-compatible stores.
- What got in the way
- I didn't check signature validity against real S3, only that the signing parts were present.