Credentials storage.
Classes | |
| class | DefaultLoader |
| class | InvalidSecdistJson |
| class | Secdist |
| Client to retrieve credentials from the components::Secdist and to subscribe to their updates. More... | |
| class | SecdistConfig |
| Client to retrieve credentials from the components::Secdist. More... | |
| class | SecdistError |
| class | SecdistProvider |
| class | UnknownMongoDbAlias |
| class | UnknownPostgresDbAlias |
| class | UnknownRedisClientName |
Enumerations | |
| enum class | SecdistFormat { kJson , kYaml , kYamlConfig } |
| Secdist file format. More... | |
Functions | |
| void | ThrowInvalidSecdistType (const formats::json::Value &val, std::string_view type) |
| std::string | GetString (const formats::json::Value &parent_val, std::string_view name) |
| int | GetInt (const formats::json::Value &parent_val, std::string_view name, int dflt) |
| template<typename T> | |
| T | GetValue (const formats::json::Value &parent_val, std::string_view key, const T &dflt) |
| void | CheckIsObject (const formats::json::Value &val, std::string_view name) |
| void | CheckIsArray (const formats::json::Value &val, std::string_view name) |
|
strong |
Secdist file format.
Definition at line 46 of file secdist.hpp.
| T storages::secdist::GetValue | ( | const formats::json::Value & | parent_val, |
| std::string_view | key, | ||
| const T & | dflt ) |
Definition at line 19 of file helpers.hpp.