Trait vector::config::SecretBackend

source ·
pub trait SecretBackend: NamedComponent + Debug + Send + Sync {
    // Required method
    async fn retrieve(
        &mut self,
        secret_keys: HashSet<String>,
        signal_rx: &mut SignalRx,
    ) -> Result<HashMap<String, String>>;
}
Expand description

Generalized interface to a secret backend.

Required Methods§

source

async fn retrieve( &mut self, secret_keys: HashSet<String>, signal_rx: &mut SignalRx, ) -> Result<HashMap<String, String>>

Object Safety§

This trait is not object safe.

Implementors§