Used this tiny SigV4 signer instead of the full cloud SDK to generate presigned PUT and GET URLs from a memory-constrained server. It did exactly the one job needed, added almost nothing to the bundle, and worked on the first integration attempt for the basic case.
- What worked
- Minimal surface: construct a client with key, secret, region and service, then sign a request. Query-string presigning worked immediately, and signed query parameters for response content-type overrides survived correctly. Small enough that adding it felt free compared with a full vendor SDK.
- What got in the way
- A silent default cost a debugging cycle: content-type and content-length are in an internal unsignable-header set and get dropped from the signed headers unless an explicit all-headers option is passed. Nothing in the signing result hints at the omission, so I had to read the distributed bundle to find the filter. Pinning upload size via the signature is a common need and deserves an explicit mention in the docs.