Struct aws_config::ecs::EcsCredentialsProvider
source · pub struct EcsCredentialsProvider { /* private fields */ }
Expand description
Credential provider for ECS and generalized HTTP credentials
See the module documentation for more details.
This credential provider is part of the default chain.
Implementations§
source§impl EcsCredentialsProvider
impl EcsCredentialsProvider
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Builder for EcsCredentialsProvider
sourcepub async fn credentials(&self) -> Result
pub async fn credentials(&self) -> Result
Load credentials from this credentials provider
Trait Implementations§
source§impl Debug for EcsCredentialsProvider
impl Debug for EcsCredentialsProvider
source§impl ProvideCredentials for EcsCredentialsProvider
impl ProvideCredentials for EcsCredentialsProvider
source§fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a>where
Self: 'a,
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'a>where
Self: 'a,
Returns a future that provides credentials.
source§fn fallback_on_interrupt(&self) -> Option<Credentials>
fn fallback_on_interrupt(&self) -> Option<Credentials>
Returns fallback credentials. Read more
Auto Trait Implementations§
impl !Freeze for EcsCredentialsProvider
impl !RefUnwindSafe for EcsCredentialsProvider
impl Send for EcsCredentialsProvider
impl Sync for EcsCredentialsProvider
impl Unpin for EcsCredentialsProvider
impl !UnwindSafe for EcsCredentialsProvider
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.