pub struct KeyManagerConfig {
pub rotation_interval: Duration,
pub key_retention_period: Duration,
pub auto_rotation_enabled: bool,
pub cipher_suites: Vec<CipherSuiteConfig>,
}Expand description
Configuration for key management
Fields§
§rotation_interval: DurationHow often to rotate keys (default: 30 days)
key_retention_period: DurationHow long to keep old keys for decryption (default: 7 days)
auto_rotation_enabled: boolWhether to enable automatic rotation
cipher_suites: Vec<CipherSuiteConfig>Supported cipher suites
Trait Implementations§
Source§impl Clone for KeyManagerConfig
impl Clone for KeyManagerConfig
Source§fn clone(&self) -> KeyManagerConfig
fn clone(&self) -> KeyManagerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 KeyManagerConfig
impl Debug for KeyManagerConfig
Source§impl Default for KeyManagerConfig
impl Default for KeyManagerConfig
Source§impl<'de> Deserialize<'de> for KeyManagerConfig
impl<'de> Deserialize<'de> for KeyManagerConfig
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 KeyManagerConfig
impl RefUnwindSafe for KeyManagerConfig
impl Send for KeyManagerConfig
impl Sync for KeyManagerConfig
impl Unpin for KeyManagerConfig
impl UnsafeUnpin for KeyManagerConfig
impl UnwindSafe for KeyManagerConfig
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