TTL Override

The following example shows how to override the default TTL for a credential.

Worker Configuration

Add the following configuration to your Connect worker config file to enable this ConfigProvider to be used by connectors.

Worker Configuration
#Thu May 27 21:15:25 UTC 2021

Connector Configuration

Add the following configurations to your connector configuration when you would like to retrieve a value from the config provider

Connector Configuration
  "username" : "${keyVault:mysql-connector?ttl=600000:username}",
  "password" : "${keyVault:mysql-connector?ttl=600000:password}"