pub enum IntegrationType {
HelperTool,
EnvInterpolation,
TempMaterializedConfig,
}Expand description
Classification of how an enclave app delivers secrets to the target application.
The adapter selects the least-secret-exposing integration automatically:
HelperTool > EnvInterpolation > TempMaterializedConfig.
Variants§
HelperTool
Type 1: The target app calls back to get credentials on demand.
Secrets never leave the enclave app’s process boundary.
Examples: SSH agent protocol, AWS credential_process, git credential helpers.
EnvInterpolation
Type 2: Config file with ${ENV_VAR} placeholders + secret env vars via execve().
Secrets exist briefly as environment variables but never touch disk.
Examples: npm .npmrc with ${NPM_TOKEN} interpolation.
TempMaterializedConfig
Type 3: Secrets written to a temp file (0o600 permissions), path passed via flag/env var. Least secure — secrets briefly exist on disk. File deleted after process exits. Used when the target app has no plugin or env var interpolation support.
Trait Implementations§
Source§impl Clone for IntegrationType
impl Clone for IntegrationType
Source§fn clone(&self) -> IntegrationType
fn clone(&self) -> IntegrationType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for IntegrationType
Source§impl Debug for IntegrationType
impl Debug for IntegrationType
Source§impl<'de> Deserialize<'de> for IntegrationType
impl<'de> Deserialize<'de> for IntegrationType
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>,
impl Eq for IntegrationType
Source§impl PartialEq for IntegrationType
impl PartialEq for IntegrationType
Source§fn eq(&self, other: &IntegrationType) -> bool
fn eq(&self, other: &IntegrationType) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for IntegrationType
impl Serialize for IntegrationType
impl StructuralPartialEq for IntegrationType
Auto Trait Implementations§
impl Freeze for IntegrationType
impl RefUnwindSafe for IntegrationType
impl Send for IntegrationType
impl Sync for IntegrationType
impl Unpin for IntegrationType
impl UnsafeUnpin for IntegrationType
impl UnwindSafe for IntegrationType
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
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
key and return true if they are equal.