mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
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:
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user