This config provider is used to retrieve configuration settings from a Hashicorp vault instance. Config providers are generic and can be used in any application that utilized the Kafka AbstractConfig class.
Sets the address (URL) of the Vault server instance to which API calls should be sent. If no address is explicitly set, the object will look to the VAULT_ADDR If you do not supply it explicitly AND no environment variable value is found, then initialization may fail.
The login method to use. Token - Authentication via the token. endpoint.
Default Value: Token
Flag to determine if the configProvider should verify the SSL Certificate of the Vault server. Outside of development this should never be enabled.
Default Value: true
Sets the token used to access Vault. If no token is explicitly set then the VAULT_TOKEN environment variable will be used.
Default Value: [hidden]
The number of times that API operations will be retried when a failure occurs.
Default Value: 5
Sets a global namespace to the Vault server instance, if desired.
Sets a prefix that will be added to all paths. For example you can use staging or production and all of the calls to vault will be prefixed with that path. This allows the same configuration settings to be used across multiple environments.
The number of milliseconds that the driver will wait in between retries.
Default Value: 2000
The minimum amount of time that a secret should be used. If a secret does not have a TTL associated with it, this setting allows you to override how often the config provider will check for updated secrets.
Default Value: 1000