Interface AwsCredentialsProviderConfig.ProcessCredentialsProviderConfig

Enclosing interface:
AwsCredentialsProviderConfig

public static interface AwsCredentialsProviderConfig.ProcessCredentialsProviderConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the provider should fetch credentials asynchronously in the background.
    The command that should be executed to retrieve credentials.
    @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration
    The amount of time between when the credentials expire and when the credentials should start to be refreshed.
    @WithConverter(io.quarkus.runtime.configuration.MemorySizeConverter.class) io.quarkus.runtime.configuration.MemorySize
    The maximum size of the output that can be returned by the external process before an exception is raised.
  • Method Details

    • asyncCredentialUpdateEnabled

      @WithDefault("false") boolean asyncCredentialUpdateEnabled()
      Whether the provider should fetch credentials asynchronously in the background.

      If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider.

    • credentialRefreshThreshold

      @WithDefault("15S") @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) @WithConverter(io.quarkus.runtime.configuration.DurationConverter.class) Duration credentialRefreshThreshold()
      The amount of time between when the credentials expire and when the credentials should start to be refreshed.

      This allows the credentials to be refreshed *before* they are reported to expire.

    • processOutputLimit

      @WithDefault("1024") @WithConverter(io.quarkus.runtime.configuration.MemorySizeConverter.class) @WithConverter(io.quarkus.runtime.configuration.MemorySizeConverter.class) io.quarkus.runtime.configuration.MemorySize processOutputLimit()
      The maximum size of the output that can be returned by the external process before an exception is raised.
    • command

      Optional<String> command()
      The command that should be executed to retrieve credentials.