pub enum SinkConfig {
Stdout,
File {
path: String,
},
Sops {
path: String,
secret_name: String,
secret_namespace: String,
},
Akeyless {
item_path: String,
},
}Variants§
Stdout
Print credentials as JSON to stdout. Default.
File
Write credentials as plaintext YAML to a file. Testing only.
Sops
Render a K8s Secret YAML matching pleme-arc-controller’s expected shape,
then run sops --encrypt --in-place on it. Requires sops + a configured
.sops.yaml rule for the target path.
Akeyless
Write credentials to Akeyless as a static secret item. (Stub for now; will use the akeyless CLI under the hood once impl lands.)
Trait Implementations§
Source§impl Clone for SinkConfig
impl Clone for SinkConfig
Source§fn clone(&self) -> SinkConfig
fn clone(&self) -> SinkConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SinkConfig
impl Debug for SinkConfig
Source§impl Default for SinkConfig
impl Default for SinkConfig
Source§fn default() -> SinkConfig
fn default() -> SinkConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SinkConfig
impl<'de> Deserialize<'de> for SinkConfig
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 SinkConfig
impl RefUnwindSafe for SinkConfig
impl Send for SinkConfig
impl Sync for SinkConfig
impl Unpin for SinkConfig
impl UnsafeUnpin for SinkConfig
impl UnwindSafe for SinkConfig
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