Files
scylladb/ent/encryption/encryption_config.hh
Andrzej Jackowski f8156702de tree: add missing -present to copyright headers
~2076 files used "Copyright (C) YYYY-present ScyllaDB" while
~88 files used "Copyright (C) YYYY ScyllaDB". This
inconsistency leads to unnecessary code review discussions
and gradual spread of the less common format.

Standardize all ScyllaDB copyright headers to use -present.

Fixes SCYLLADB-1984

Closes scylladb/scylladb#29876
2026-05-21 10:57:42 +02:00

37 lines
958 B
C++

/*
* Copyright (C) 2018-present ScyllaDB
*
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
*/
#pragma once
#include "utils/config_file.hh"
namespace encryption {
class encryption_config : public utils::config_file {
public:
encryption_config();
typedef std::unordered_map<sstring, string_map> string_string_map;
named_value<sstring> system_key_directory;
named_value<bool> config_encryption_active;
named_value<sstring> config_encryption_key_name;
named_value<string_map> system_info_encryption;
named_value<string_string_map> kmip_hosts;
named_value<string_string_map> kms_hosts;
named_value<string_string_map> gcp_hosts;
named_value<string_string_map> azure_hosts;
named_value<string_map> user_info_encryption;
named_value<bool> allow_per_table_encryption;
};
}
extern template struct utils::config_file::named_value<encryption::encryption_config::string_string_map>;