pub struct CloudSecretEntry {
pub env_var: String,
pub value: String,
pub source: Option<CloudSecretSource>,
pub placeholder: String,
pub allowed_hosts: Vec<CloudHostPattern>,
pub injection: SecretInjection,
pub on_violation: Option<CloudViolationAction>,
pub require_tls_identity: bool,
}Expand description
A single cloud secret entry. Twin of domain SecretEntry.
Fields§
§env_var: StringEnvironment variable name exposed to the sandbox.
value: StringThe secret value (empty when source carries a reference instead).
source: Option<CloudSecretSource>Host-side source resolved into value at spawn time.
placeholder: StringPlaceholder the sandbox sees instead of the real value.
allowed_hosts: Vec<CloudHostPattern>Hosts allowed to receive this secret.
injection: SecretInjectionWhere the secret may be injected.
on_violation: Option<CloudViolationAction>Per-secret violation action overriding the config default.
require_tls_identity: boolRequire verified TLS identity before substituting (default: true).
Trait Implementations§
Source§impl Clone for CloudSecretEntry
impl Clone for CloudSecretEntry
Source§fn clone(&self) -> CloudSecretEntry
fn clone(&self) -> CloudSecretEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudSecretEntry
impl Debug for CloudSecretEntry
Source§impl<'de> Deserialize<'de> for CloudSecretEntry
impl<'de> Deserialize<'de> for CloudSecretEntry
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
Source§impl From<CloudSecretEntry> for SecretEntry
impl From<CloudSecretEntry> for SecretEntry
Source§fn from(entry: CloudSecretEntry) -> Self
fn from(entry: CloudSecretEntry) -> Self
Converts to this type from the input type.
Source§impl From<SecretEntry> for CloudSecretEntry
impl From<SecretEntry> for CloudSecretEntry
Source§fn from(entry: SecretEntry) -> Self
fn from(entry: SecretEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CloudSecretEntry
impl RefUnwindSafe for CloudSecretEntry
impl Send for CloudSecretEntry
impl Sync for CloudSecretEntry
impl Unpin for CloudSecretEntry
impl UnsafeUnpin for CloudSecretEntry
impl UnwindSafe for CloudSecretEntry
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