sigaws v0.1.0 Sigaws.Ctxt
Context containing information related to Sigaws Signature verification.
Fields
Name | Description |
---|---|
access_key | Access Key ID used for verification. Extracted from credential scope. |
region | From credential scope |
service | From credential scope |
signed_at_amz_dt | From X-Amz-Date parameter or header |
expires_in | From X-Amz-Expires parameter or header (nil when not specified) |
signed_headers | From Authorization header or X-Amz-SignedHeaders parameter. This is a list of header names normalized to lowercase. |
signature | From Authorization header or X-Amz-Signature parameter |
This is passed to the callbacks in Sigaws.Provider
behavior. It is also
returned when the verification succeeds. A plug performing signature verification
can make this context available as a plug connection assign upon successful
verification. This facilitates separate policy enforcement plugs that could
potentially be developed making use of this verified context.
Summary
Types
t()
t() :: %Sigaws.Ctxt{access_key: binary, expires_in: expires_in, region: binary, service: binary, signature: binary, signed_at_amz_dt: binary, signed_headers: signed_headers}