pub struct SecretConfig {
pub name: String,
pub source: String,
pub target: String,
pub when_profiles: Vec<String>,
pub deny_roles: Vec<ProfileRole>,
}Fields§
§name: String§source: String§target: String§when_profiles: Vec<String>Include this secret only when the active profile matches one of these names. Empty means “include in all profiles”.
deny_roles: Vec<ProfileRole>Exclude this secret when the active profile has one of these roles.
Use deny_roles: [install] to prevent credential files from being mounted
inside install-phase containers where postinstall scripts could read them.
Trait Implementations§
Source§impl Clone for SecretConfig
impl Clone for SecretConfig
Source§fn clone(&self) -> SecretConfig
fn clone(&self) -> SecretConfig
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 SecretConfig
impl Debug for SecretConfig
Source§impl<'de> Deserialize<'de> for SecretConfig
impl<'de> Deserialize<'de> for SecretConfig
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 SecretConfig
impl RefUnwindSafe for SecretConfig
impl Send for SecretConfig
impl Sync for SecretConfig
impl Unpin for SecretConfig
impl UnsafeUnpin for SecretConfig
impl UnwindSafe for SecretConfig
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