![]() |
![]()
| ![]() |
![]()
NAMEOpenXPKI::Config::Backend - Backend connector holding the system config SYNOPSISuse OpenXPKI::Config::Backend; my $cfg = OpenXPKI::Config::Backend->new(LOCATION => "/usr/local/etc/openxpki/config.d"); DESCRIPTIONThis connector serves as the backend to provide the initial configuration data which is held in the directory given via LOCATION parameter. On startup, it reads all files found in the directory and parses them using Config::Merge. The result is stored using Connector::Builtin::Memory, keys starting/ending with the "@" sign are converted to "reference links" as understood by Connector::Multi. CONFIGURATIONThe class does not require any configuration. You can set the base the path to the config root using the environment variable "OPENXPKI_CONF_PATH". This will overwrite the LOCATION attribute given to the constructor.
|