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

    Type Declaration

      • (realmId: string, options?: any): Promise<any>
      • Rotates the named units (or every unit and the refresh-token keys) now, each retired key keeping its own grace, then writes the audit row and sends the Shared Signals event.

        An emergency rotation drops the retired keys at once, revokes the units' certificates for keyCompromise and ends every session in the realm.

        Parameters

        • realmId: string

          the realm id

        • Optionaloptions: any

          optional { units, emergency, reason, trigger, requestedBy }

        Returns Promise<any>

        a promise of { rotated, generation, revoked, sessionsEnded }