Client to retrieve credentials from the components::Secdist and to subscribe to their updates.
More...
#include <userver/storages/secdist/secdist.hpp>
Client to retrieve credentials from the components::Secdist and to subscribe to their updates.
Definition at line 116 of file secdist.hpp.
◆ Get()
Returns secdist data loaded on service start. Does not support secdist updating during service work.
◆ GetSnapshot()
Returns fresh secdist data (from last update). Supports secdist updating during service work.
◆ UpdateAndListen()
template<typename Class >
Subscribes to secdist updates using a member function, named OnSecdistUpdate
by convention. Also immediately invokes the function with the current secdist data.
Definition at line 151 of file secdist.hpp.
The documentation for this class was generated from the following file: