Configuration property fixed at build time - All other configuration properties are overridable at runtime
Type |
Default |
|
---|---|---|
If set to true, the application will attempt to look up the configuration from Consul Environment variable: |
boolean |
|
Consul agent host Environment variable: |
|
|
Whether or not to use HTTPS when communicating with the agent Environment variable: |
boolean |
|
Consul token to be provided when authentication is enabled Environment variable: |
string |
|
TrustStore to be used containing the SSL certificate used by Consul agent Can be either a classpath resource or a file system path Environment variable: |
path |
|
Password of TrustStore to be used containing the SSL certificate used by Consul agent Environment variable: |
string |
|
KeyStore to be used containing the SSL certificate for authentication with Consul agent Can be either a classpath resource or a file system path Environment variable: |
path |
|
Password of KeyStore to be used containing the SSL certificate for authentication with Consul agent Environment variable: |
string |
|
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 Environment variable: |
string |
|
When using HTTPS and no keyStore has been specified, whether or not to trust all certificates Environment variable: |
boolean |
|
The amount of time to wait when initially establishing a connection before giving up and timing out. Specify Environment variable: |
|
|
The amount of time to wait for a read on a socket before an exception is thrown. Specify Environment variable: |
|
|
Common prefix that all keys share when looking up the keys from Consul. The prefix is not included in the keys of the user configuration Environment variable: |
string |
|
Keys whose value is a raw string. When this is used, the keys that end up in the user configuration are the keys specified her with '/' replaced by '.' Environment variable: |
list of string |
|
Keys whose value represents a properties file. When this is used, the keys that end up in the user configuration are the keys of the properties file, not these keys Environment variable: |
list of string |
|
If set to true, the application will not start if any of the configured config sources cannot be located Environment variable: |
boolean |
|
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|