For any questions or issues related to provider provisioning, please join our Slack community.
Configuring Providers
To provision providers and deduplication rules for them, we can configure via the environment variable. This can be done in two ways:- Using
KEEP_PROVIDERS
environment variable which either contains a JSON string or a path to a JSON file that contains the providers configurations. - Using
KEEP_PROVIDERS_DIRECTORY
environment variable which contains a path to a directory that contains the providers configurations (configured via YAML files). This is the recommended approach.
Keep does not allow to use both
KEEP_PROVIDERS
and KEEP_PROVIDERS_DIRECTORY
environment variables at the same time.Please note: Deduplication rules are not mandatory for provider distribution.
Providers provisioning using KEEP_PROVIDERS
Providers provisioning JSON example:KEEP_PROVIDERS
value:
Providers provisioning using KEEP_PROVIDERS_DIRECTORY
Specify the path to the directory containing the providers configurations:Supported Providers
Keep supports a wide range of provider types. Each provider type has its own specific configuration requirements. To see the full list of supported providers and their detailed configuration options, please refer to our comprehensive provider documentation.Update Provisioned Providers
Using KEEP_PROVIDERS
Provider configurations can be updated dynamically by changing theKEEP_PROVIDERS
environment variable.
On every restart, Keep reads this environment variable and determines which providers need to be added or removed.
This process allows for flexible management of data sources without requiring manual intervention. By simply updating the KEEP_PROVIDERS
variable and restarting the application, you can efficiently add new providers, remove existing ones, or modify their configurations.
The high-level provisioning mechanism:
- Keep reads the
KEEP_PROVIDERS
value. - Keep checks if there are any provisioned providers that are no longer in the
KEEP_PROVIDERS
value, and deletes them. - Keep installs all providers from the
KEEP_PROVIDERS
value.
Using KEEP_PROVIDERS_DIRECTORY
Provider configurations can be updated dynamically by changing the YAML files in theKEEP_PROVIDERS_DIRECTORY
directory.
On every restart, Keep reads the YAML files in the KEEP_PROVIDERS_DIRECTORY
directory and determines which providers need to be added or removed.
The high-level provisioning mechanism:
- Keep reads the YAML files in the
KEEP_PROVIDERS_DIRECTORY
directory. - Keep checks if there are any provisioned providers that are no longer in the YAML files, and deletes them.
- Keep installs all providers from the YAML files.