s3v2

package module
v0.0.0-...-a9e171a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2016 License: MIT Imports: 12 Imported by: 1

README

s3v2

v2 auth signer for s3 for use with aws-go-sdk

Add v2 signer to go sdk by passing this new signer like:

svc := s3.New(...)
svc.Handlers.Sign.Clear()
svc.Handlers.Sign.PushBackNamed(s3v2.SignRequestHandler)

Documentation

Index

Constants

This section is empty.

Variables

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

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

Functions

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.

This is intended to be specific to S3, for others use v2 or v4

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL