pub struct RotateSigningKeyRequest {
pub grace: Option<String>,
}Expand description
Request body for POST /api/v1/cluster/rotate-signing-key.
Triggers a rotation of the cluster’s Ed25519 signing keystore: a fresh
keypair is generated, set as the new active key, and the previously
active key is moved into the grace map. Grace-period keys continue to
verify in-flight join tokens until their valid_until timestamp.
Fields§
§grace: Option<String>How long the previous-active key should remain valid for verifying
in-flight tokens after rotation. Humantime syntax (24h, 7d).
Defaults to 7d if omitted.
Trait Implementations§
Source§impl Clone for RotateSigningKeyRequest
impl Clone for RotateSigningKeyRequest
Source§fn clone(&self) -> RotateSigningKeyRequest
fn clone(&self) -> RotateSigningKeyRequest
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 RotateSigningKeyRequest
impl ComposeSchema for RotateSigningKeyRequest
Source§impl Debug for RotateSigningKeyRequest
impl Debug for RotateSigningKeyRequest
Source§impl Default for RotateSigningKeyRequest
impl Default for RotateSigningKeyRequest
Source§fn default() -> RotateSigningKeyRequest
fn default() -> RotateSigningKeyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RotateSigningKeyRequest
impl<'de> Deserialize<'de> for RotateSigningKeyRequest
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 RotateSigningKeyRequest
impl Serialize for RotateSigningKeyRequest
Auto Trait Implementations§
impl Freeze for RotateSigningKeyRequest
impl RefUnwindSafe for RotateSigningKeyRequest
impl Send for RotateSigningKeyRequest
impl Sync for RotateSigningKeyRequest
impl Unpin for RotateSigningKeyRequest
impl UnsafeUnpin for RotateSigningKeyRequest
impl UnwindSafe for RotateSigningKeyRequest
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