pub struct LazyCachingCredentialsProvider { /* private fields */ }Expand description
LazyCachingCredentialsProvider implements ProvideCredentials by caching
credentials that it loads by calling a user-provided ProvideCredentials implementation.
For example, you can provide an ProvideCredentials implementation that calls
AWS STS’s AssumeRole operation to get temporary credentials, and LazyCachingCredentialsProvider
will cache those credentials until they expire.
Implementations§
Trait Implementations§
source§impl ProvideCredentials for LazyCachingCredentialsProvider
impl ProvideCredentials for LazyCachingCredentialsProvider
source§fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'_> ⓘwhere
Self: 'a,
fn provide_credentials<'a>(&'a self) -> ProvideCredentials<'_> ⓘwhere Self: 'a,
Returns a future that provides credentials.