Package io.quarkus.consul.config.runtime
Class ConsulConfig.AgentConfig
- java.lang.Object
-
- io.quarkus.consul.config.runtime.ConsulConfig.AgentConfig
-
- Enclosing class:
- ConsulConfig
public static class ConsulConfig.AgentConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description DurationconnectionTimeoutThe amount of time to wait when initially establishing a connection before giving up and timing out.Optional<String>keyPasswordPassword to recover key from KeyStore for SSL client authentication with Consul agent If no value is provided, the key-store-password will be usedOptional<Path>keyStoreKeyStore to be used containing the SSL certificate for authentication with Consul agent Can be either a classpath resource or a file system pathOptional<String>keyStorePasswordPassword of KeyStore to be used containing the SSL certificate for authentication with Consul agentDurationreadTimeoutThe amount of time to wait for a read on a socket before an exception is thrown.Optional<Path>trustStoreTrustStore to be used containing the SSL certificate used by Consul agent Can be either a classpath resource or a file system pathOptional<String>trustStorePasswordPassword of TrustStore to be used containing the SSL certificate used by Consul agent
-
Constructor Summary
Constructors Constructor Description AgentConfig()
-
-
-
Field Detail
-
trustStore
@ConfigItem public Optional<Path> trustStore
TrustStore to be used containing the SSL certificate used by Consul agent Can be either a classpath resource or a file system path
-
trustStorePassword
@ConfigItem public Optional<String> trustStorePassword
Password of TrustStore to be used containing the SSL certificate used by Consul agent
-
keyStore
@ConfigItem public Optional<Path> keyStore
KeyStore to be used containing the SSL certificate for authentication with Consul agent Can be either a classpath resource or a file system path
-
keyStorePassword
@ConfigItem public Optional<String> keyStorePassword
Password of KeyStore to be used containing the SSL certificate for authentication with Consul agent
-
keyPassword
@ConfigItem public Optional<String> keyPassword
Password to recover key from KeyStore for SSL client authentication with Consul agent If no value is provided, the key-store-password will be used
-
connectionTimeout
@ConfigItem(defaultValue="10S") public Duration connectionTimeout
The amount of time to wait when initially establishing a connection before giving up and timing out.Specify `0` to wait indefinitely.
-
readTimeout
@ConfigItem(defaultValue="60S") public Duration readTimeout
The amount of time to wait for a read on a socket before an exception is thrown.Specify `0` to wait indefinitely.
-
-