public static class AwsCredentialsProviderConfig.ProcessCredentialsProviderConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
asyncCredentialUpdateEnabled
Whether the provider should fetch credentials asynchronously in the background.
|
Optional<String> |
command
The command that should be executed to retrieve credentials.
|
Duration |
credentialRefreshThreshold
The amount of time between when the credentials expire and when the credentials should start to be
refreshed.
|
MemorySize |
processOutputLimit
The maximum size of the output that can be returned by the external process before an exception is raised.
|
| Constructor and Description |
|---|
ProcessCredentialsProviderConfig() |
@ConfigItem public boolean asyncCredentialUpdateEnabled
If this is true, threads are less likely to block when credentials are loaded, but additional resources are used to maintain the provider.
@ConfigItem(defaultValue="15S") public Duration credentialRefreshThreshold
This allows the credentials to be refreshed *before* they are reported to expire.
@ConfigItem(defaultValue="1024") public MemorySize processOutputLimit
@ConfigItem public Optional<String> command
Copyright © 2020 JBoss by Red Hat. All rights reserved.