pub struct SecretEntry {
pub env_var: String,
pub value: String,
pub placeholder: String,
pub allowed_hosts: Vec<HostPattern>,
pub injection: SecretInjection,
pub require_tls_identity: bool,
}Expand description
A single secret entry (serializable form passed to the network engine).
Fields§
§env_var: StringEnvironment variable name exposed to the sandbox (holds the placeholder).
value: StringThe actual secret value (never enters the sandbox).
placeholder: StringPlaceholder string the sandbox sees instead of the real value.
allowed_hosts: Vec<HostPattern>Hosts allowed to receive this secret.
injection: SecretInjectionWhere the secret can be injected.
require_tls_identity: boolRequire verified TLS identity before substituting (default: true). When true, secret is only substituted if the connection uses TLS interception (not bypass) and the SNI matches an allowed host.
Trait Implementations§
Source§impl Clone for SecretEntry
impl Clone for SecretEntry
Source§fn clone(&self) -> SecretEntry
fn clone(&self) -> SecretEntry
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 SecretEntry
impl Debug for SecretEntry
Source§impl<'de> Deserialize<'de> for SecretEntry
impl<'de> Deserialize<'de> for SecretEntry
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 SecretEntry
impl RefUnwindSafe for SecretEntry
impl Send for SecretEntry
impl Sync for SecretEntry
impl Unpin for SecretEntry
impl UnsafeUnpin for SecretEntry
impl UnwindSafe for SecretEntry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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