secrets-provider-tests 0.4.26

Shared conformance test harness for Greentic secrets providers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Optional provider features exercised by the suite.
#[derive(Clone, Copy, Debug, Default)]
pub struct Capabilities {
    /// Supports listing secrets by prefix.
    pub list: bool,
}

impl Capabilities {
    pub const fn with_list(mut self) -> Self {
        self.list = true;
        self
    }
}