Struct aws_sig_auth::middleware::SigV4SigningStage [−][src]
pub struct SigV4SigningStage { /* fields omitted */ }
Expand description
Middleware stage to sign requests with SigV4
SigV4RequestSignerStage will load configuration from the request property bag and add a signature.
Prior to signing, the following fields MUST be present in the property bag:
SigningRegion
: The region used when signing the request, e.g.us-east-1
SigningService
: The name of the service to use when signing the request, e.g.dynamodb
Credentials
: Credentials to sign withOperationSigningConfig
: Operation specific signing configuration, e.g. changes to URL encoding behavior, or headers that must be omitted. If any of these fields are missing, the middleware will return an error.
The following fields MAY be present in the property bag:
SystemTime
: The timestamp to use when signing the request. If this field is not presentSystemTime::now
will be used.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SigV4SigningStage
impl Send for SigV4SigningStage
impl Sync for SigV4SigningStage
impl Unpin for SigV4SigningStage
impl UnwindSafe for SigV4SigningStage
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more