pub struct VaultSecretConfig {
pub path: String,
pub key: String,
pub mount: String,
}Expand description
Configuration for HashiCorp Vault resolution
Fields§
§path: StringPath to the secret (e.g., “secret/data/myapp/config”)
key: StringKey within the secret to extract
mount: StringSecret engine mount point (defaults to “secret”)
Implementations§
Trait Implementations§
Source§impl Clone for VaultSecretConfig
impl Clone for VaultSecretConfig
Source§impl Debug for VaultSecretConfig
impl Debug for VaultSecretConfig
Source§impl<'de> Deserialize<'de> for VaultSecretConfig
impl<'de> Deserialize<'de> for VaultSecretConfig
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 VaultSecretConfig
Source§impl PartialEq for VaultSecretConfig
impl PartialEq for VaultSecretConfig
Source§impl Serialize for VaultSecretConfig
impl Serialize for VaultSecretConfig
impl StructuralPartialEq for VaultSecretConfig
Auto Trait Implementations§
impl Freeze for VaultSecretConfig
impl RefUnwindSafe for VaultSecretConfig
impl Send for VaultSecretConfig
impl Sync for VaultSecretConfig
impl Unpin for VaultSecretConfig
impl UnsafeUnpin for VaultSecretConfig
impl UnwindSafe for VaultSecretConfig
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