go-aws-auth
go-aws-auth copied to clipboard
[DEPRECATED] Signs requests to Amazon Web Services (AWS) using IAM roles or signed signature versions 2, 3, and 4. Supports S3 and STS.
Right now setting the `Host` header to the value of `request.Host` may also include the port (if specified) and causes an incorrect canonicalURL string to get hashed. Looks like this...
My code is the following: ``` go func (o *AWSHandler) InteractWithMethod(method, u string, values url.Values, header http.Header) (*http.Response, error) { var req *http.Request var err error values.Add("AWSAccessKeyId", o.config["access_key"]) values.Add("Timestamp", time.Now().Format("2006-01-02T15:04:05Z"))...