pub trait SecretsController: Send + Sync {
    fn apply<'life0, 'async_trait>(
        &'life0 mut self,
        ops: Vec<SecretOp>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Securely stores secrets.

Required methods

Applies the specified secret operations in bulk.

Implementations must apply the operations atomically. If the method returns Ok(()), then all operations have been applied successfully; if the method returns Err(()), then none of the operations have been applied.

Implementations are permitted to reject combinations of operations which they cannot apply atomically.

Implementors