pub struct EncryptionConfigInner {
pub enabled: bool,
pub passphrase: Option<String>,
pub env_key: Option<String>,
}Expand description
Nested encryption configuration
Fields§
§enabled: boolEnable encryption for state files
passphrase: Option<String>Passphrase for encryption/decryption (can also be set via SHIPPER_ENCRYPT_KEY env var)
env_key: Option<String>Environment variable to read passphrase from (default: SHIPPER_ENCRYPT_KEY)
Trait Implementations§
Source§impl Clone for EncryptionConfigInner
impl Clone for EncryptionConfigInner
Source§fn clone(&self) -> EncryptionConfigInner
fn clone(&self) -> EncryptionConfigInner
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 EncryptionConfigInner
impl Debug for EncryptionConfigInner
Source§impl Default for EncryptionConfigInner
impl Default for EncryptionConfigInner
Source§fn default() -> EncryptionConfigInner
fn default() -> EncryptionConfigInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptionConfigInner
impl<'de> Deserialize<'de> for EncryptionConfigInner
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EncryptionConfigInner, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EncryptionConfigInner, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for EncryptionConfigInner
impl Serialize for EncryptionConfigInner
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for EncryptionConfigInner
impl RefUnwindSafe for EncryptionConfigInner
impl Send for EncryptionConfigInner
impl Sync for EncryptionConfigInner
impl Unpin for EncryptionConfigInner
impl UnsafeUnpin for EncryptionConfigInner
impl UnwindSafe for EncryptionConfigInner
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