Skip to main content

ensure_identity

Function ensure_identity 

Source
pub async fn ensure_identity(
    client: &KanidmClient,
    metrics: &ControllerMetrics,
    identity: &RadiusIdentity,
) -> ExecResult<IdentityOutcome>
Expand description

Ensure the per-CR account (created, never adopted) and its own membership edge in idm_radius_servers. Mints, rotates and revokes nothing.

A same-named account without our display-name marker is ExecError::AccountNotOwned.