Interface AwsCredentialsProviderConfig.DefaultCredentialsProviderConfig

Enclosing interface:
AwsCredentialsProviderConfig

public static interface AwsCredentialsProviderConfig.DefaultCredentialsProviderConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether this provider should fetch credentials asynchronously in the background.
    boolean
    Whether 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.