aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
2.96k stars 556 forks source link

docs(s3-request-presigner): add in getSignedUrl example with and without signed headers #6129

Closed whutchinson98 closed 1 week ago

whutchinson98 commented 1 month ago

Description

Update documentation providing an example on using getSignedUrl method with and without signed headers.

Testing

N/A - docs

Additional context

While working on setting up presigned urls with signed headers I noticed there was a lack of documentation regarding how to handle x-amz-* headers you wish to have signed. I hope this PR allows for others to find the solution quicker.

Checklist


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.