iya-sts
    Preparing search index...
    rotateDue: (realmId: string, ctx?: any) => Promise<any> = ...

    Type Declaration

      • (realmId: string, ctx?: any): Promise<any>
      • Runs the scheduled rotation of one realm: a next key for every unit lacking one, and every unit whose next key has been published for a whole interval promoted. A pinned unit is left alone.

        Parameters

        • realmId: string

          the realm id

        • Optionalctx: any

          optional scheduler context: nowMs, stillOwner, trigger

        Returns Promise<any>

        a promise of { minted, rotated, generation }, with abandoned when the node stopped owning the job midway