[][src]Struct holochain_conductor_api::config::conductor::ConductorConfig

pub struct ConductorConfig {
    pub environment_path: EnvironmentRootPath,
    pub use_dangerous_test_keystore: bool,
    pub signing_service_uri: Option<String>,
    pub encryption_service_uri: Option<String>,
    pub decryption_service_uri: Option<String>,
    pub dpki: Option<DpkiConfig>,
    pub keystore_path: Option<PathBuf>,
    pub passphrase_service: Option<PassphraseServiceConfig>,
    pub admin_interfaces: Option<Vec<AdminInterfaceConfig>>,
    pub network: Option<KitsuneP2pConfig>,
}

All the config information for the conductor

Fields

environment_path: EnvironmentRootPath

The path to the LMDB environment for this conductor. If omitted, chooses a default path.

use_dangerous_test_keystore: bool

Enabling this will use a test keystore instead of lair. This generates publicly accessible private keys. DO NOT USE THIS IN PRODUCTION!

signing_service_uri: Option<String>

Optional URI for a websocket connection to an outsourced signing service. Bootstrapping step for Holo closed-alpha. If set, all agents with holo_remote_key = true will be emulated by asking for signatures over this websocket.

encryption_service_uri: Option<String>

Optional URI for a websocket connection to an outsourced encryption service. Bootstrapping step for Holo closed-alpha. If set, all agents with holo_remote_key = true will be emulated by asking for signatures over this websocket.

decryption_service_uri: Option<String>

Optional URI for a websocket connection to an outsourced decryption service. Bootstrapping step for Holo closed-alpha. If set, all agents with holo_remote_key = true will be emulated by asking for signatures over this websocket.

dpki: Option<DpkiConfig>

Optional DPKI configuration if conductor is using a DPKI app to initalize and manage keys for new instances

keystore_path: Option<PathBuf>

Optional path for keystore directory. If not specified will use the default provided by the ConfigBuilderhttps://docs.rs/lair_keystore_api/0.0.1-alpha.4/lair_keystore_api/struct.ConfigBuilder.html)

passphrase_service: Option<PassphraseServiceConfig>

Configure how the conductor should prompt the user for the passphrase to lock/unlock keystores. The conductor is independent of the specialized implementation of the trait PassphraseService. It just needs something to provide a passphrase when needed. This config setting selects one of the available services (i.e. CLI prompt, IPC, FromConfig)

admin_interfaces: Option<Vec<AdminInterfaceConfig>>

Setup admin interfaces to control this conductor through a websocket connection

network: Option<KitsuneP2pConfig>

Config options for the network module. Optional.

Implementations

impl ConductorConfig[src]

pub fn load_yaml(path: &Path) -> ConductorConfigResult<ConductorConfig>[src]

create a ConductorConfig struct from a yaml file path

Trait Implementations

impl Clone for ConductorConfig[src]

impl Debug for ConductorConfig[src]

impl Default for ConductorConfig[src]

impl<'de> Deserialize<'de> for ConductorConfig[src]

impl PartialEq<ConductorConfig> for ConductorConfig[src]

impl Serialize for ConductorConfig[src]

impl StructuralPartialEq for ConductorConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ConductorConfig

impl Send for ConductorConfig

impl Sync for ConductorConfig

impl Unpin for ConductorConfig

impl UnwindSafe for ConductorConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]