pub trait CredentialsProvider:
Debug
+ Send
+ Sync {
// Required method
fn credentials_async(
&self,
) -> Pin<Box<dyn Future<Output = Result<CredentialsSnapshot>> + Send + '_>>;
}Expand description
Source of credential snapshots for request signing.
Required Methods§
Sourcefn credentials_async(
&self,
) -> Pin<Box<dyn Future<Output = Result<CredentialsSnapshot>> + Send + '_>>
fn credentials_async( &self, ) -> Pin<Box<dyn Future<Output = Result<CredentialsSnapshot>> + Send + '_>>
Returns credentials asynchronously.