pub enum KeystoreConfig {
DangerTestKeystore,
LairServer {
connection_url: Url2,
},
LairServerInProc {
lair_root: Option<PathBuf>,
},
}
Expand description
Define how Holochain conductor will connect to a keystore, and how to collect the passphrase needed to unlock the keystore.
Variants
DangerTestKeystore
Enabling this will use a test keystore instead of lair. This generates publicly accessible private keys. DO NOT USE THIS IN PRODUCTION!
LairServer
Fields
connection_url: Url2
The “connectionUrl” as defined in your “lair-keystore-config.yaml”.
This value is also accessible by running lair-keystore url
.
Connect to an external lair-keystore process. This keystore type requires a secure passphrase specified to the cli binary entrypoint for this Holochain conductor process.
LairServerInProc
Fields
Run a lair-keystore server in-process. It will require exclusive access to the root directory (no other conductors can share this lair). This keystore type requires a secure passphrase specified to the cli binary entrypoint for this Holochain conductor process.
Trait Implementations
sourceimpl Clone for KeystoreConfig
impl Clone for KeystoreConfig
sourcefn clone(&self) -> KeystoreConfig
fn clone(&self) -> KeystoreConfig
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for KeystoreConfig
impl Debug for KeystoreConfig
sourceimpl Default for KeystoreConfig
impl Default for KeystoreConfig
sourcefn default() -> KeystoreConfig
fn default() -> KeystoreConfig
sourceimpl<'de> Deserialize<'de> for KeystoreConfig
impl<'de> Deserialize<'de> for KeystoreConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<KeystoreConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<KeystoreConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
sourceimpl PartialEq<KeystoreConfig> for KeystoreConfig
impl PartialEq<KeystoreConfig> for KeystoreConfig
sourcefn eq(&self, other: &KeystoreConfig) -> bool
fn eq(&self, other: &KeystoreConfig) -> bool
sourceimpl Serialize for KeystoreConfig
impl Serialize for KeystoreConfig
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for KeystoreConfig
Auto Trait Implementations
impl RefUnwindSafe for KeystoreConfig
impl Send for KeystoreConfig
impl Sync for KeystoreConfig
impl Unpin for KeystoreConfig
impl UnwindSafe for KeystoreConfig
Blanket Implementations
impl<T> Any for Twhere
T: Any + ?Sized,
impl<T> Any for Twhere
T: Any + ?Sized,
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read morefn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.