MCPcopy
hub / github.com/minio/minio-go / SignV4TrailerExpress

Function SignV4TrailerExpress

pkg/signer/request-signature-v4.go:420–422  ·  view source on GitHub ↗

SignV4TrailerExpress sign the request before Do(), in accordance with http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html

(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string, trailer http.Header)

Source from the content-addressed store, hash-verified

418// SignV4TrailerExpress sign the request before Do(), in accordance with
419// http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
420func SignV4TrailerExpress(req http.Request, accessKeyID, secretAccessKey, sessionToken, location string, trailer http.Header) *http.Request {
421 return signV4(req, accessKeyID, secretAccessKey, sessionToken, location, ServiceTypeS3Express, trailer)
422}
423
424// SignV4Trailer sign the request before Do(), in accordance with
425// http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html

Callers 1

newRequestMethod · 0.92

Calls 1

signV4Function · 0.85

Tested by

no test coverage detected