Struct aws_http::auth::CredentialsStage [−][src]
#[non_exhaustive]pub struct CredentialsStage;
Expand description
Middleware stage that loads credentials from a CredentialsProvider and places them in the property bag of the request.
CredentialsStage implements AsyncMapRequest
, and:
- Retrieves a
CredentialsProvider
from the property bag. - Calls the credential provider’s
provide_credentials
and awaits its result. - Places returned
Credentials
into the property bad to drive downstream signing middleware.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CredentialsStage
impl Send for CredentialsStage
impl Sync for CredentialsStage
impl Unpin for CredentialsStage
impl UnwindSafe for CredentialsStage
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