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 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址