pub struct EncryptedFileConfig {
pub file_path: String,
pub algorithm: String,
pub kdf: String,
pub master_key_env: Option<String>,
pub key_file: Option<String>,
}Expand description
Encrypted file configuration
Fields§
§file_path: StringPath to encrypted secrets file
algorithm: StringEncryption algorithm
kdf: StringKey derivation function
master_key_env: Option<String>Master key (from env var)
key_file: Option<String>Key file path
Trait Implementations§
Source§impl Clone for EncryptedFileConfig
impl Clone for EncryptedFileConfig
Source§fn clone(&self) -> EncryptedFileConfig
fn clone(&self) -> EncryptedFileConfig
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 EncryptedFileConfig
impl Debug for EncryptedFileConfig
Source§impl Default for EncryptedFileConfig
impl Default for EncryptedFileConfig
Source§impl<'de> Deserialize<'de> for EncryptedFileConfigwhere
EncryptedFileConfig: Default,
impl<'de> Deserialize<'de> for EncryptedFileConfigwhere
EncryptedFileConfig: Default,
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 EncryptedFileConfig
impl RefUnwindSafe for EncryptedFileConfig
impl Send for EncryptedFileConfig
impl Sync for EncryptedFileConfig
impl Unpin for EncryptedFileConfig
impl UnsafeUnpin for EncryptedFileConfig
impl UnwindSafe for EncryptedFileConfig
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