DEV Community

Discussion on: Signing requests to AWS services using axios

Collapse
 
zirkelc profile image
Chris Cook AWS Community Builders

Good article! I didn't know about the axios interceptor to sign all http requests automatically. I think that's a great idea.

I recently wrote a post about signing GraphQL requests with AWS IAM and Signature V4. I did use the default fetch api instead of axios for http requests, but that's just preference. However, for SigV4 signing I would recommend to use the official @aws-sdk/signature-v4 package instead of aws4. Even though aws4 is working just fine, it looks like it's not maintained anymore and has some open issues.

Collapse
 
arpadt profile image
Arpad Toth AWS Community Builders

Thanks, great stuff, I'll have a look!