Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + const AmazonSigV4AuthorizationPrefix + const AmzDateHeader + const AmzDateTimeFormat + const AuthorizationHeader + func GetAndReplaceReqBody(req *http.Request) ([]byte, error) + func IsSignedByAWSSigV4(r *http.Request) bool + func NewSigner(credentials *credentials.Credentials, signingServiceName string) *v4.Signer + func VerifyAWSSignature(req *http.Request, credentials *credentials.Credentials) error + type Role struct + ARN string + Display string + Name string + type Roles []Role + func FilterAWSRoles(arns []string, accountID string) (result Roles) + func (roles Roles) FindRoleByARN(arn string) (Role, bool) + func (roles Roles) FindRolesByName(name string) (result Roles) + func (roles Roles) Sort() + type SigV4 struct + Date string + KeyID string + Region string + Service string + Signature string + SignedHeaders []string + func ParseSigV4(header string) (*SigV4, error)