pub struct SecretMaskingConfig {
pub enabled: bool,
pub min_secret_len: usize,
}Expand description
Configuration for PAAC secret placeholder masking, nested under
[security.secret_masking] in the agent config file.
When enabled = false (the default), vault secrets are not masked.
Fields§
§enabled: boolEnable secret placeholder masking (default: false — opt-in).
min_secret_len: usizeMinimum secret byte length to be eligible for masking (default: 8).
Secrets shorter than this value are not substituted to avoid false matches on common short strings.
Trait Implementations§
Source§impl Clone for SecretMaskingConfig
impl Clone for SecretMaskingConfig
Source§fn clone(&self) -> SecretMaskingConfig
fn clone(&self) -> SecretMaskingConfig
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 SecretMaskingConfig
impl Debug for SecretMaskingConfig
Source§impl Default for SecretMaskingConfig
impl Default for SecretMaskingConfig
Source§impl<'de> Deserialize<'de> for SecretMaskingConfig
impl<'de> Deserialize<'de> for SecretMaskingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SecretMaskingConfig
impl PartialEq for SecretMaskingConfig
Source§fn eq(&self, other: &SecretMaskingConfig) -> bool
fn eq(&self, other: &SecretMaskingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecretMaskingConfig
impl Serialize for SecretMaskingConfig
impl StructuralPartialEq for SecretMaskingConfig
Auto Trait Implementations§
impl Freeze for SecretMaskingConfig
impl RefUnwindSafe for SecretMaskingConfig
impl Send for SecretMaskingConfig
impl Sync for SecretMaskingConfig
impl Unpin for SecretMaskingConfig
impl UnsafeUnpin for SecretMaskingConfig
impl UnwindSafe for SecretMaskingConfig
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