pub struct KeyRotationConfigToml {
pub renew_before_days: u64,
pub check_interval_hours: u64,
pub rotation_command: Option<String>,
}Expand description
TOML-level key rotation configuration.
Fields§
§renew_before_days: u64Days before cert expiry to trigger rotation warning/action (default: 7).
check_interval_hours: u64Hours between rotation checks (default: 1).
rotation_command: Option<String>Shell command to execute when rotation is needed. The command receives CA label and cert path as arguments.
Trait Implementations§
Source§impl Clone for KeyRotationConfigToml
impl Clone for KeyRotationConfigToml
Source§fn clone(&self) -> KeyRotationConfigToml
fn clone(&self) -> KeyRotationConfigToml
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 KeyRotationConfigToml
impl Debug for KeyRotationConfigToml
Source§impl<'de> Deserialize<'de> for KeyRotationConfigToml
impl<'de> Deserialize<'de> for KeyRotationConfigToml
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
Auto Trait Implementations§
impl Freeze for KeyRotationConfigToml
impl RefUnwindSafe for KeyRotationConfigToml
impl Send for KeyRotationConfigToml
impl Sync for KeyRotationConfigToml
impl Unpin for KeyRotationConfigToml
impl UnsafeUnpin for KeyRotationConfigToml
impl UnwindSafe for KeyRotationConfigToml
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