pub struct CloudSecretsConfig {
pub entries: Vec<CloudSecretEntry>,
pub passthrough_hosts: Option<Vec<CloudHostPattern>>,
pub violation_action: CloudViolationAction,
}Expand description
Secret-substitution config for the cloud API. Twin of domain SecretsConfig.
Fields§
§entries: Vec<CloudSecretEntry>Secrets to inject.
passthrough_hosts: Option<Vec<CloudHostPattern>>Default placeholder passthrough hosts, including for secrets added later. A per-secret violation action overrides this default.
violation_action: CloudViolationActionDefault action when a placeholder leaks to a disallowed host.
Trait Implementations§
Source§impl Clone for CloudSecretsConfig
impl Clone for CloudSecretsConfig
Source§impl Debug for CloudSecretsConfig
impl Debug for CloudSecretsConfig
Source§impl Default for CloudSecretsConfig
impl Default for CloudSecretsConfig
Source§impl<'de> Deserialize<'de> for CloudSecretsConfig
impl<'de> Deserialize<'de> for CloudSecretsConfig
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CloudSecretsConfig> for SecretsConfig
impl From<CloudSecretsConfig> for SecretsConfig
Source§fn from(config: CloudSecretsConfig) -> Self
fn from(config: CloudSecretsConfig) -> Self
Converts to this type from the input type.
Source§impl From<SecretsConfig> for CloudSecretsConfig
impl From<SecretsConfig> for CloudSecretsConfig
Source§fn from(config: SecretsConfig) -> Self
fn from(config: SecretsConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CloudSecretsConfig
impl RefUnwindSafe for CloudSecretsConfig
impl Send for CloudSecretsConfig
impl Sync for CloudSecretsConfig
impl Unpin for CloudSecretsConfig
impl UnsafeUnpin for CloudSecretsConfig
impl UnwindSafe for CloudSecretsConfig
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