pub struct DeployerSecretEnv {
pub name: String,
pub vault_key: String,
pub secret_name: String,
pub vault_name: Option<String>,
pub label: String,
pub required: bool,
pub version: Option<String>,
}Expand description
An environment variable a workload reads from a vault-native deployer secret when it starts.
Fields§
§name: StringEnvironment variable name.
vault_key: StringKey in the secrets vault.
secret_name: StringFull name in the secret store (the Kubernetes Secret on Kubernetes).
vault_name: Option<String>The Azure Key Vault that holds it. Other stores resolve secret_name
in the workload’s own account or project.
label: StringThe input’s label, for the “missing:
required: boolWhether the workload must not start without it.
version: Option<String>The secret store’s version of the value when the workload was configured. Overwriting the secret changes it, so the next update restarts the workload, which then reads the new value.
Trait Implementations§
Source§impl Clone for DeployerSecretEnv
impl Clone for DeployerSecretEnv
Source§impl Debug for DeployerSecretEnv
impl Debug for DeployerSecretEnv
Source§impl<'de> Deserialize<'de> for DeployerSecretEnv
impl<'de> Deserialize<'de> for DeployerSecretEnv
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
impl Eq for DeployerSecretEnv
Source§impl PartialEq for DeployerSecretEnv
impl PartialEq for DeployerSecretEnv
Source§impl Serialize for DeployerSecretEnv
impl Serialize for DeployerSecretEnv
impl StructuralPartialEq for DeployerSecretEnv
Auto Trait Implementations§
impl Freeze for DeployerSecretEnv
impl RefUnwindSafe for DeployerSecretEnv
impl Send for DeployerSecretEnv
impl Sync for DeployerSecretEnv
impl Unpin for DeployerSecretEnv
impl UnsafeUnpin for DeployerSecretEnv
impl UnwindSafe for DeployerSecretEnv
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.