Struct aws_config::imds::credentials::ImdsCredentialsProvider
source · pub struct ImdsCredentialsProvider { /* private fields */ }
Expand description
IMDSv2 Credentials Provider
Note: This credentials provider will NOT fallback to the IMDSv1 flow.
Implementations§
source§impl ImdsCredentialsProvider
impl ImdsCredentialsProvider
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Builder for ImdsCredentialsProvider
Trait Implementations§
source§impl Debug for ImdsCredentialsProvider
impl Debug for ImdsCredentialsProvider
source§impl ProvideCredentials for ImdsCredentialsProvider
impl ProvideCredentials for ImdsCredentialsProvider
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 ImdsCredentialsProvider
impl !RefUnwindSafe for ImdsCredentialsProvider
impl Send for ImdsCredentialsProvider
impl Sync for ImdsCredentialsProvider
impl Unpin for ImdsCredentialsProvider
impl !UnwindSafe for ImdsCredentialsProvider
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.