v2 - ActiveState ActiveGo 1.8

Package v2

import "github.com/aws/aws-sdk-go/private/signer/v2"

Overview ▾


SignRequestHandler is a named request handler the SDK will use to sign service client request with using the V4 signature.

var SignRequestHandler = request.NamedHandler{
    Name: "v2.SignRequestHandler", Fn: SignSDKRequest,

func SignSDKRequest

func SignSDKRequest(req *request.Request)

SignSDKRequest requests with signature version 2.

Will sign the requests with the service config's Credentials object Signing is skipped if the credentials is the credentials.AnonymousCredentials object.