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.