pub enum PushSource {
Kv {
name: Option<String>,
vault_url: String,
prefix: Option<String>,
delete_missing: bool,
},
Aws {
name: Option<String>,
region: Option<String>,
prefix: Option<String>,
delete_missing: bool,
},
Ssm {
name: Option<String>,
region: Option<String>,
path: Option<String>,
delete_missing: bool,
},
Gcp {
name: Option<String>,
project: Option<String>,
prefix: Option<String>,
delete_missing: bool,
},
}Expand description
A single push destination definition.
Every variant includes two ADR-030 fields:
name: optional label for--source <label>filteringdelete_missing: opt-in flag for remote-key deletion (defaultfalse)
Variants§
Kv
Azure Key Vault (AKV).
Fields
Aws
AWS Secrets Manager.
Fields
Ssm
AWS SSM Parameter Store.
Fields
Gcp
GCP Secret Manager.
Fields
Implementations§
Source§impl PushSource
impl PushSource
Sourcepub fn provider_type(&self) -> &'static str
pub fn provider_type(&self) -> &'static str
Return a human-readable provider type label for display purposes.
Sourcepub fn delete_missing(&self) -> bool
pub fn delete_missing(&self) -> bool
Return the delete_missing flag for this source.
Trait Implementations§
Source§impl Debug for PushSource
impl Debug for PushSource
Source§impl<'de> Deserialize<'de> for PushSource
impl<'de> Deserialize<'de> for PushSource
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 PushSource
impl RefUnwindSafe for PushSource
impl Send for PushSource
impl Sync for PushSource
impl Unpin for PushSource
impl UnsafeUnpin for PushSource
impl UnwindSafe for PushSource
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