pub struct IdentityConfig {
pub pubkey: String,
pub owner: Option<String>,
pub algorithm: String,
pub key_version: u32,
pub created_at_key: Option<String>,
pub previous_pubkey: Option<String>,
pub previous_key_version: Option<u32>,
pub grace_expires_at: Option<String>,
pub rotated_at: Option<String>,
pub emergency_rekey_at: Option<String>,
}Fields§
§pubkey: StringMultibase-encoded Ed25519 public key (base58btc, z prefix).
Empty string for legacy P0a profiles; filled on P0a.5 mur agent create.
owner: Option<String>Free-form owner identity (email / SSO sub). None for legacy profiles.
algorithm: StringCryptographic algorithm for this key. Defaults to “ed25519”.
key_version: u32Monotonic version counter; 0 = initial create, increments on each rotation.
created_at_key: Option<String>RFC3339 timestamp of when this key was created.
previous_pubkey: Option<String>Previous public key (before most recent rotation). None if not rotated yet.
previous_key_version: Option<u32>Version of the previous key. None if not rotated yet.
grace_expires_at: Option<String>RFC3339 timestamp when grace period expires and old key is fully retired. Only set during rotation; cleared once grace period ends.
rotated_at: Option<String>RFC3339 timestamp of the most recent key rotation (normal, not emergency).
emergency_rekey_at: Option<String>RFC3339 timestamp of emergency key rotation (set only if emergency rekey occurred).
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more