You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aws-sdk-go: It provides xxxRequest() to generate a "aws/request.Request" representing the client's request for almost all the operations. Then for query string authentication, we can use Presign to get the request's signed URL.
aws-sdk-go-v2: PresignClient represents the presign url client. And only PresignGetObject/PresignPutObject/PresignHeadObject/PresignUploadPart are provided.
When migrating to aws-sdk-go-v2, is it possible to provide services equivalent to the current version on authenticating requests? More specifically, how to implement MultipartHTTPSigner and QuerySignHTTPDelete?
Steps
New s3.PresignClient with s3.PresignOptions
Figure out whether more interfaces can support authentication with query parameters.
The text was updated successfully, but these errors were encountered:
Xuanwo
changed the title
Migrate to aws-sdk-go-v2: Authenticating requests using query parameters
services/s3: Migrate to aws-sdk-go-v2: Authenticating requests using query parameters
Oct 15, 2021
Xuanwo
transferred this issue from beyondstorage/go-service-s3
Oct 15, 2021
Authenticating Requests: Using Query Parameters
Comparison
aws-sdk-go
: It providesxxxRequest()
to generate a "aws/request.Request" representing the client's request for almost all the operations. Then for query string authentication, we can usePresign
to get the request's signed URL.aws-sdk-go-v2
:PresignClient
represents the presign url client. And onlyPresignGetObject
/PresignPutObject
/PresignHeadObject
/PresignUploadPart
are provided.When migrating to aws-sdk-go-v2, is it possible to provide services equivalent to the current version on authenticating requests? More specifically, how to implement
MultipartHTTPSigner
andQuerySignHTTPDelete
?Steps
s3.PresignClient
withs3.PresignOptions
The text was updated successfully, but these errors were encountered: