Struct aws_sig_auth::middleware::SigV4SigningStage
source · pub struct SigV4SigningStage { /* private fields */ }
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§
source§impl SigV4SigningStage
impl SigV4SigningStage
pub fn new(signer: SigV4Signer) -> Self
Trait Implementations§
source§impl Clone for SigV4SigningStage
impl Clone for SigV4SigningStage
source§fn clone(&self) -> SigV4SigningStage
fn clone(&self) -> SigV4SigningStage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more