aws-beam / aws_signature

Apache License 2.0
11 stars 8 forks source link

Implement AWS SigV4 Header Authorization #1

Closed jonatanklosko closed 3 years ago

jonatanklosko commented 3 years ago

Adds the signing algorithm described here.

The implementation is based on aws-erlang/src/aws_request.erl - sign_request/10 and aws-elixir/lib/aws/signature.ex - sign_v4/5, with no dependencies and some fixes.

Primary differences from the aforementioned functions:

jadeallenx commented 3 years ago

sorry late to the party here - is the intention to make this library a dependency of the other packages? Or I suppose maybe there is a desire for a standalone signature library without all of the other code generator-y bits...

jadeallenx commented 3 years ago

Also if the other libraries are wrong shouldn't we fix them too? Or maybe they're getting ripped/replaced? It isn't clear anyway. Thanks.

jonatanklosko commented 3 years ago

@mrallen1 the idea is to use this package as a dependency for the generated packages, so that there is no duplication :)

jadeallenx commented 3 years ago

Super - this is fantastic btw <3 thank you