pub struct MachineConfig {
pub carrier_choice: ChoiceConfig,
pub parent: Option<String>,
pub identity_path: PathBuf,
pub pass_path: PathBuf,
pub agent_id: String,
pub audience: String,
pub machines: BTreeMap<String, String>,
pub links: Vec<OutboundLinkConfig>,
}Expand description
[auth.lys.machine]: this liminal’s agent identity and pass.
Its links are keyed from the Ed25519 identity Lys recorded for it, its own end of every crossing is decided from its own pass, and the holders that may open links to it are named with their public keys. The link identity is an agent’s own key and pass. The machine section name is retained so existing file-pass configurations still read.
Fields§
§carrier_choice: ChoiceConfigCarrier order and message-scoped direct deadlines.
parent: Option<String>The device this machine is a district of, when configured.
identity_path: PathBufPath to the agent’s Ed25519 seed, 64 hexadecimal digits, read once at start. The link handshake keys from its X25519 derivation.
pass_path: PathBufPath to the agent’s own Lys pass, verified at start; absent when the signed agent dial is configured.
agent_id: StringThe agent whose capability certificate names this identity’s key.
audience: StringThe app the agent asks the issuer for a pass to.
machines: BTreeMap<String, String>The public key recorded for each holder that may open a link, holder id to Ed25519 public key as 64 hexadecimal digits.
links: Vec<OutboundLinkConfig>Outbound links keyed from this machine, each configured by name.
Trait Implementations§
Source§impl Clone for MachineConfig
impl Clone for MachineConfig
Source§impl Debug for MachineConfig
impl Debug for MachineConfig
Source§impl<'de> Deserialize<'de> for MachineConfig
impl<'de> Deserialize<'de> for MachineConfig
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 MachineConfig
Source§impl PartialEq for MachineConfig
impl PartialEq for MachineConfig
impl StructuralPartialEq for MachineConfig
Auto Trait Implementations§
impl Freeze for MachineConfig
impl RefUnwindSafe for MachineConfig
impl Send for MachineConfig
impl Sync for MachineConfig
impl Unpin for MachineConfig
impl UnsafeUnpin for MachineConfig
impl UnwindSafe for MachineConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.