Sign form upload support
Closed this issue · 3 comments
Hey,
I'm using the library to implement file upload and trying to figure out how to do form signature. In the example, they are using hand written generator for signature.
Does the library has support for something similar ?
Hi @Maxim-Filimonov 👋
I don't think the lib has support for it. We do have the signature part because all the requests must be signed. But we don't have this "fields generator" based on policy.
I think it's reasonable to move the signature part to a public API if we want to allow this type of usage. WDYT?
Good question. Looking at SimpleS3Upload it actually does a bit more than just signature.
It also encodes the policy. Maybe exposing a public API which would allow to create signed fields directly would be a better option. I'm not sure does AWS sdk provides something like that.
@Maxim-Filimonov I'm closing this because we moved the signature part to a new package: https://github.com/aws-beam/aws_signature
I think there is a better place to implement something like this. Thanks!