pub struct KeypairEntry {
pub coordinate: Coordinate,
pub project: Option<String>,
pub environment: String,
pub sensitivity: Sensitivity,
pub public_openssh: String,
pub private_openssh: Zeroizing<String>,
}Expand description
A custodied keypair the agent can offer/sign with. Built by the face from a
SecretRecord::Keypair { private: Some(_), .. }; the private half is held in
a zeroizing buffer that is wiped when the entry drops. Public-only entries
are never turned into a KeypairEntry (nothing to sign with).
Fields§
§coordinate: CoordinateThe canonical coordinate (<env>/<component>/<key>), for prompts/audit.
project: Option<String>The owning project (None = global vault), for scope addressing.
environment: StringThe environment segment, for the audit/confirm record.
sensitivity: SensitivityThe secret’s sensitivity (drives per-signature confirmation).
public_openssh: StringOpenSSH public key (ssh-ed25519 … / ssh-rsa …).
private_openssh: Zeroizing<String>OpenSSH private key, sealed in memory only — never written to disk (I7).
Auto Trait Implementations§
impl Freeze for KeypairEntry
impl RefUnwindSafe for KeypairEntry
impl Send for KeypairEntry
impl Sync for KeypairEntry
impl Unpin for KeypairEntry
impl UnsafeUnpin for KeypairEntry
impl UnwindSafe for KeypairEntry
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