ent::encryption: Switch default key provider from replicated to local

Since we are deprecating the replicated provider, it makes little sense to
have it be default.
This commit is contained in:
Calle Wilund
2025-12-01 09:43:07 +00:00
parent ba38d58539
commit 52cc30e00c

View File

@@ -319,7 +319,7 @@ public:
auto provider_class = opts(KEY_PROVIDER);
if (!provider_class) {
provider_class = opts(SECRET_KEY_PROVIDER_FACTORY_CLASS).value_or(REPLICATED_KEY_PROVIDER_FACTORY);
provider_class = opts(SECRET_KEY_PROVIDER_FACTORY_CLASS).value_or(LOCAL_FILE_SYSTEM_KEY_PROVIDER_FACTORY);
}
if (provider_class->empty() || ::strcasecmp(provider_class->c_str(), "none") == 0) {
return {};