4 ms·
If you don't use the SDK, how can you judge anything as being "overly complicated"? I mean, I don't know about you, but, last time I checked, signatures, certif
by brunooliv 4y ago
If you don't use the SDK, how can you judge anything as being "overly complicated"? I mean, I don't know about you, but, last time I checked, signatures, certificates, security and all that stuff IS SUPPOSED to be super complicated because it's a subject with a very high inherent complexity in and of itself. The SDK exists and is well designed to precisely shield you from said complexity.
If you deliberately choose not to use it or can't for some reasons then yes... The complexity will be laid bare
- Gigachad 4y agoHN users routinely try to do things the obtuse way and then complain when its hard. Throw in something about the SDK being spyware or not following the unix philosophy.
- asah 4y agoCurl is my preferred SDK.
- numbsafari 4y agoWell, here you go then… https://curl.se/docs/manpage.html#--aws-sigv4 https://curl.se/docs/manpage.html#--aws-sigv4
- deleted 4y ago[deleted]
- naasking 4y ago> I mean, I don't know about you, but, last time I checked, signatures, certificates, security and all that stuff IS SUPPOSED to be super complicated because it's a subject with a very high inherent complexity in and of itself. Actually, security is not supposed to be complicated. "Complicated" is the anti-thesis of "secure".
- BackBlast 4y agoHave you ever tried to import the AWS SDK into a front end client? It's huge. Last time I tried it, it added multi MB of JS to my SPA, so I could do a relatively "simple" call using it. Yuck. It did not tree shake cleanly with my build system and I eventually ended up just yanking AWS from the stack entirely.
- orf 4y agoDid you import the entire SDK, or only the SDK for the service you actually needed?
- BackBlast 4y agoOnly way I could figure out was using the core SDK. There was no service-only option that I could find. I just spent 5 minutes looking, just now, to see if another option exists. I got nothing. So... if it is out there, it's complicated enough I couldn't find my miss-steps then or now.
- orf 4y agoThere are individual packages for clients? https://www.npmjs.com/search?q=%40aws-sdk%2Fclient- https://www.npmjs.com/search?q=%40aws-sdk%2Fclient- https://www.npmjs.com/package/@aws-sdk/client-secrets-manager https://www.npmjs.com/package/@aws-sdk/client-secrets-manage... for example
- BackBlast 4y agoThat's a good bit of info. Excellent, I'll tuck that one away for the future.