This PR solves the issue #547
The main changes are made in the directory: core/{include/userver,src}/storages/secdist/
The components::DefaultSecdistProvider component has been removed.
Added components::SecdistComponentBase - base component for all secret distributors. The default implementation of this class is components::Secdist - ready-to-use component.
Implementations of the storages::secdist::SecdistProviderBase class are now used to store the secdist configuration.
Thus it is still possible to implement your own secret distributor by implementing the base classes components::SecdistComponentBase and storages::secdist::SecdistProviderBase.
This PR solves the issue #547 The main changes are made in the directory:
core/{include/userver,src}/storages/secdist/
components::DefaultSecdistProvider
component has been removed.components::SecdistComponentBase
- base component for all secret distributors. The default implementation of this class iscomponents::Secdist
- ready-to-use component.storages::secdist::SecdistProviderBase
class are now used to store the secdist configuration.Thus it is still possible to implement your own secret distributor by implementing the base classes
components::SecdistComponentBase
andstorages::secdist::SecdistProviderBase
.