pub struct ConfigSecretSummary {
pub secret_named: usize,
pub redacted: usize,
pub declared: usize,
pub unredacted: usize,
pub files: Vec<String>,
}Expand description
The _Home overview’s config-secret inventory figures.
Counts and file paths only — deliberately not the key names, which belong in
roteiro config-secrets where the caveat can be stated at length. A vault note
is read casually and out of context, which is exactly the wrong place for a
list that looks like a secret scan’s output.
Fields§
§secret_named: usizeConfig keys whose name matched the secret-name heuristic.
redacted: usizeOf those, how many had their value redacted before persistence.
declared: usizeOf those, how many are declared in code with no literal value.
unredacted: usizeOf those, how many carry an unredacted value. Expected to be zero.
files: Vec<String>Distinct files carrying at least one secret-named key, ordered and capped by the caller.
Trait Implementations§
Source§impl Clone for ConfigSecretSummary
impl Clone for ConfigSecretSummary
Source§fn clone(&self) -> ConfigSecretSummary
fn clone(&self) -> ConfigSecretSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigSecretSummary
impl Debug for ConfigSecretSummary
Source§impl Default for ConfigSecretSummary
impl Default for ConfigSecretSummary
Source§fn default() -> ConfigSecretSummary
fn default() -> ConfigSecretSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigSecretSummary
impl RefUnwindSafe for ConfigSecretSummary
impl Send for ConfigSecretSummary
impl Sync for ConfigSecretSummary
impl Unpin for ConfigSecretSummary
impl UnsafeUnpin for ConfigSecretSummary
impl UnwindSafe for ConfigSecretSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more