Service-neutral AWS SigV4 request signing using the optional :ex_aws_auth dependency.
Summary
Functions
Resolve credentials from opts, application env, or the standard AWS_*
env vars (session-token aware). Called with no args by default, so plain
from_env() callers keep working unchanged.
Return the signed header list for method/url/body. Caller attaches these
to the request. :credentials defaults to from_env/1; :service is required; :headers are base headers folded into the canonical set.
Types
Functions
Resolve credentials from opts, application env, or the standard AWS_*
env vars (session-token aware). Called with no args by default, so plain
from_env() callers keep working unchanged.
Return the signed header list for method/url/body. Caller attaches these
to the request. :credentials defaults to from_env/1; :service is required; :headers are base headers folded into the canonical set.
Returns a list of {header_name, header_value} tuples. The authorization and
x-amz-date headers are always present; x-amz-security-token is included when
a security_token is set in the credentials.