Expand description
This crate provides a set of utilities for writing an AWS-like service that uses SigV4 authentication and Aspen (AWS IAM) authorization.
Structs
AWSSigV4VerifierService implements a Hyper service that authenticates a request against AWS SigV4 signing protocol.
AWS request id implementation.
A Hyper service spawner that wraps a SigV4 signing key provider (
GetSigningKeyRequest
->
GetSigningKeyResponse
), an HTTP request handler (Request<Body>
-> Response<Body>
) for handling
requests that pass authentication, and an error mapper (ErrorMapper
) for converting authentication errors into
HTTP responses.Builder for
SpawnService
.A wrapper around a TcpListener and a TlsAcceptor that accepts TLS connections for Hyper.
An implementation of ErrorMapper that returns an XML body.
Enums
Error type for AwsSigV4VerifierServiceBuilder
Traits
A trait for mapping authentication errors to HTTP responses.