Class ConsulConfig.AgentConfig

  • Enclosing class:
    ConsulConfig

    public static class ConsulConfig.AgentConfig
    extends Object
    • 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.

    • Constructor Detail

      • AgentConfig

        public AgentConfig()