pub struct SchemaEntry {
pub description: String,
pub example: Option<String>,
pub tags: Vec<String>,
pub created: Option<String>,
pub updated: Option<String>,
pub rotation_interval_days: Option<u32>,
pub expires_at: Option<String>,
pub revoked_at: Option<String>,
}Fields§
§description: String§example: Option<String>§created: Option<String>When the key was first added.
updated: Option<String>When the value was last updated. Doubles as “last rotated”: any value
change (add/edit/rotate) bumps it, so it anchors the rotation clock.
rotation_interval_days: Option<u32>Soft rotation policy: rotate at least every N days. doctor flags the
key as overdue when updated + rotation_interval_days is in the past.
expires_at: Option<String>Hard expiry (ISO-8601 UTC) for credentials with a known end-of-life,
e.g. a token. doctor flags it as expired or expiring soon.
revoked_at: Option<String>Set to the revoke time (ISO-8601 UTC) when a recipient who could read
this key is revoked and rotation is deferred. Its presence is the
obligation: the revoked recipient can still decrypt the live value from
git history until it changes. Any value write (add/edit/rotate/
import) clears it, so a set revoked_at always means “still owed a
rotation since this revoke”. doctor flags it until then.
Trait Implementations§
Source§impl Clone for SchemaEntry
impl Clone for SchemaEntry
Source§fn clone(&self) -> SchemaEntry
fn clone(&self) -> SchemaEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more