Type Definition rusoto_core::DefaultCredentialsProviderSync [] [src]

type DefaultCredentialsProviderSync = BaseAutoRefreshingProvider<ChainProvider, Mutex<AwsCredentials>>;

The credentials provider you probably want to use if you do require Sync for your AWS services. Wraps a ChainProvider in an AutoRefreshingProvider that uses a Mutex to lock credentials in a threadsafe manner.

The underlying ChainProvider checks multiple sources for credentials, and the AutoRefreshingProvider refreshes the credentials automatically when they expire. The Mutex allows this caching to happen in a Sync manner, incurring the overhead of a Mutex when credentials expire and need to be refreshed.

For a !Sync implementation of the same, see DefaultCredentialsProvider