Package io.quarkus.amazon.common.runtime
Interface AwsCredentialsProviderConfig.DefaultCredentialsProviderConfig
- Enclosing interface:
- AwsCredentialsProviderConfig
public static interface AwsCredentialsProviderConfig.DefaultCredentialsProviderConfig
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this provider should fetch credentials asynchronously in the background.booleanWhether the provider should reuse the last successful credentials provider in the chain.
-
Method Details
-
asyncCredentialUpdateEnabled
@WithDefault("false") boolean asyncCredentialUpdateEnabled()Whether this provider should fetch credentials asynchronously in the background.If this is `true`, threads are less likely to block, but additional resources are used to maintain the provider.
-
reuseLastProviderEnabled
@WithDefault("true") boolean reuseLastProviderEnabled()Whether the provider should reuse the last successful credentials provider in the chain.Reusing the last successful credentials provider will typically return credentials faster than searching through the chain.
-