pub struct SigningPubkeyEntry {
pub kid: String,
pub public_key_b64: String,
pub status: String,
pub valid_until: Option<String>,
pub created_at: String,
}Expand description
Per-key entry returned by GET /api/v1/cluster/signing-pubkeys.
Fields§
§kid: StringShort key id (8 hex chars).
public_key_b64: StringURL-safe no-pad base64 of the Ed25519 verifying key (32 bytes → 43 chars).
status: String"active" or "grace". Active = newly-issued tokens use this key.
Grace = previously active; still verifies in-flight tokens until
valid_until.
valid_until: Option<String>RFC3339 timestamp this key stops being accepted. Only present for
status = "grace".
created_at: StringRFC3339 timestamp this key was created.
Trait Implementations§
Source§impl Clone for SigningPubkeyEntry
impl Clone for SigningPubkeyEntry
Source§fn clone(&self) -> SigningPubkeyEntry
fn clone(&self) -> SigningPubkeyEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for SigningPubkeyEntry
impl ComposeSchema for SigningPubkeyEntry
Source§impl Debug for SigningPubkeyEntry
impl Debug for SigningPubkeyEntry
Source§impl<'de> Deserialize<'de> for SigningPubkeyEntry
impl<'de> Deserialize<'de> for SigningPubkeyEntry
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SigningPubkeyEntry
impl Serialize for SigningPubkeyEntry
Auto Trait Implementations§
impl Freeze for SigningPubkeyEntry
impl RefUnwindSafe for SigningPubkeyEntry
impl Send for SigningPubkeyEntry
impl Sync for SigningPubkeyEntry
impl Unpin for SigningPubkeyEntry
impl UnsafeUnpin for SigningPubkeyEntry
impl UnwindSafe for SigningPubkeyEntry
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