pub struct SecretsConfig {
pub use_keyring: bool,
pub auto_migrate: bool,
pub require_secure_storage: bool,
}Expand description
Configuration for secrets management
Fields§
§use_keyring: boolWhether to use keyring storage (OS-native secure storage)
auto_migrate: boolWhether to automatically migrate from env vars to keyring
require_secure_storage: boolWhether to require secure storage (fail if keyring unavailable)
Trait Implementations§
Source§impl Clone for SecretsConfig
impl Clone for SecretsConfig
impl Copy for SecretsConfig
Source§impl Debug for SecretsConfig
impl Debug for SecretsConfig
Auto Trait Implementations§
impl Freeze for SecretsConfig
impl RefUnwindSafe for SecretsConfig
impl Send for SecretsConfig
impl Sync for SecretsConfig
impl Unpin for SecretsConfig
impl UnsafeUnpin for SecretsConfig
impl UnwindSafe for SecretsConfig
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