Package awsauth implements AWS request signing using Signed Signature Version 2, Signed Signature Version 3, and Signed Signature Version 4. Supports S3 and STS.
Sign signs a request bound for AWS. It automatically chooses the best authentication scheme based on the service the request is going to.
Sign2 signs a request with Signed Signature Version 2. If the service you're accessing supports Version 4, use that instead.
Sign3 signs a request with Signed Signature Version 3. If the service you're accessing supports Version 4, use that instead.
Sign4 signs a request with Signed Signature Version 4.
SignS3 signs a request bound for Amazon S3 using their custom HTTP authentication scheme.
SignS3Url signs a GET request for a resource on Amazon S3 by appending query string parameters containing credentials and signature. You must specify an expiration date for these signed requests. After that date, a request signed with this method will be rejected by S3.
Credentials stores the information necessary to authorize with AWS and it is from this information that requests are signed.