I am using the node aws sdk to generate v2 signed urls for s3 objects and I have a few questions. The files are being hosted using digital ocean and not amazon.
I want to add custom get params to the URLS. I have found documentation that suggests you can do it with the v4 signing but I want to use v2. I have tried appending the get params to the url after its generated which seems to work fine, Is there something I am missing that could cause problems with doing this. Docs I found: https://github.com/aws/aws-sdk-js/issues/3656
The reason I don't want to use v4 is because the v4 signing includes the date/time the url was generated. Is there any way to remove this param and still use v4?
I have also read that v2 signing has been deprecated. I noticed the method I use is synchronous,
getSignedUrl()
, so doesn't make any http requests to generate the link. Because this don't require external data/code Is it safe to assume If I opt for v2 signatures they will work for the foreseeable future?
Thanks a lot