Skip to main content

spawn_root_identity_rotation_task

Function spawn_root_identity_rotation_task 

Source
pub fn spawn_root_identity_rotation_task(
    config: Arc<OAuthConfig>,
    secrets_dir: PathBuf,
    store: Arc<SigningKeyStore>,
)
Expand description

Rotate only the root-DID Ed25519 identity set.

The same proven lead → active → bounded-drain state machine is reused, but the dedicated directory keeps its authority and persistence separate from JWT signing keys.