aws-elixir v0.6.0 AWS.Request.Internal View Source
Link to this section Summary
Functions
Add an Authorization
header with an AWS4-HMAC-SHA256 signature to the list
of headers.
Add an X-Amz-Date
header with a long date value in YYMMDDTHHMMSSZ
format
to a list of headers.
Add an X-Amz-Security-Token
if credentials configurations are configured for it
Generate an AWS4-HMAC-SHA256 authorization signature.
Strip leading and trailing whitespace around name
and value
, convert
name
to lowercase, and add a trailing newline.
Convert a list of headers to canonical header format. Leading and trailing whitespace around header names and values is stripped, header names are lowercased, and headers are newline-joined in alphabetical order (with a trailing newline).
Process and merge request values into a canonical request for AWS signature version 4.
Generate a credential scope from a short date in YYMMDD
format, a region
identifier and a service identifier.
Strip leading and trailing whitespace around Name and convert it to lowercase.
Convert a list of headers to canonicals signed header format. Leading and trailing whitespace around names is stripped, header names are lowercased, and header names are semicolon-joined in alphabetical order.
Generate a signing key from a secret access key, a short date in YYMMDD
format, a region identifier and a service identifier.
Strip the query string from the URL, if one if present, and return the URL and query string as separate values.
Generate the text to sign from a long date in YYMMDDTHHMMSSZ
format, a
credential scope and a hashed canonical request.
Link to this section Functions
Add an Authorization
header with an AWS4-HMAC-SHA256 signature to the list
of headers.
Add an X-Amz-Date
header with a long date value in YYMMDDTHHMMSSZ
format
to a list of headers.
Add an X-Amz-Security-Token
if credentials configurations are configured for it
authorization(access_key_id, credential_scope, signed_headers, signature)
View SourceGenerate an AWS4-HMAC-SHA256 authorization signature.
Strip leading and trailing whitespace around name
and value
, convert
name
to lowercase, and add a trailing newline.
Convert a list of headers to canonical header format. Leading and trailing whitespace around header names and values is stripped, header names are lowercased, and headers are newline-joined in alphabetical order (with a trailing newline).
Process and merge request values into a canonical request for AWS signature version 4.
Generate a credential scope from a short date in YYMMDD
format, a region
identifier and a service identifier.
Strip leading and trailing whitespace around Name and convert it to lowercase.
Convert a list of headers to canonicals signed header format. Leading and trailing whitespace around names is stripped, header names are lowercased, and header names are semicolon-joined in alphabetical order.
Generate a signing key from a secret access key, a short date in YYMMDD
format, a region identifier and a service identifier.
Strip the query string from the URL, if one if present, and return the URL and query string as separate values.
string_to_sign(long_date, credential_scope, hashed_canonical_request)
View SourceGenerate the text to sign from a long date in YYMMDDTHHMMSSZ
format, a
credential scope and a hashed canonical request.