# Functions
BuildCredentialScope builds the Signature Version 4 (SigV4) signing scope.
GetURIPath returns the escaped URI component from the provided URL.
HMACSHA256 computes a HMAC-SHA256 of data given the provided key.
NewSigningKeyDeriver returns a new SigningKeyDeriver.
NewSigningTime creates a new SigningTime given a time.Time.
SanitizeHostForHeader removes default port from host and updates request.Host.
StripExcessSpaces will rewrite the passed in slice's string values to not contain multiple side-by-side spaces.
# Constants
AmzAlgorithmKey indicates the signing algorithm.
AmzCredentialKey is the access key ID and credential scope.
AmzDateKey is the UTC timestamp for the request in the format YYYYMMDD'T'HHMMSS'Z'.
AmzSecurityTokenKey indicates the security token to be used with temporary credentials.
AmzSignatureKey is the query parameter to store the SigV4 signature.
AmzSignedHeadersKey is the set of headers signed for the request.
ContentSHAKey is the SHA256 of request body.
EmptyStringSHA256 is the hex encoded sha256 value of an empty string.
ShortTimeFormat is the shorten time format used in the credential scope.
StreamingEventsPayload indicates that the request payload body is a signed event stream.
TimeFormat is the time format to be used in the X-Amz-Date header or query parameter.
UnsignedPayload indicates that the request payload body is unsigned.
# Variables
AllowedQueryHoisting is a allowed list for Build query headers.
IgnoredHeaders is a list of headers that are ignored during signing.
RequiredSignedHeaders is a allow list for Build canonical headers.
# Structs
AllowList is a generic Rule for include listing.
ExcludeList is a generic Rule for exclude listing.
SigningKeyDeriver derives a signing key from a set of credentials.
SigningTime provides a wrapper around a time.Time which provides cached values for SigV4 signing.
# Interfaces
Rule interface allows for more flexible rules and just simply checks whether or not a value adheres to that Rule.
# Type aliases
InclusiveRules rules allow for rules to depend on one another.
MapRule generic Rule for maps.
Patterns is a list of strings to match against.
Rules houses a set of Rule needed for validation of a string value.