iya-sts
    Preparing search index...

    Variable rotate

    rotate: (
        realmId: any,
    ) => Promise<
        | {
            errors: string[];
            message?: undefined;
            ok: boolean;
            realm?: undefined;
        }
        | { errors?: undefined; message: string; ok: boolean; realm: string },
    > = rotate

    Type Declaration

      • (
            realmId: any,
        ): Promise<
            | {
                errors: string[];
                message?: undefined;
                ok: boolean;
                realm?: undefined;
            }
            | { errors?: undefined; message: string; ok: boolean; realm: string },
        >
      • Forgets a realm's stored keys so the next read generates and stores new ones.

        Destructive: everything signed under the old keys stops verifying, since there is no overlap.

        Parameters

        • realmId: any

          the realm

        Returns Promise<
            | {
                errors: string[];
                message?: undefined;
                ok: boolean;
                realm?: undefined;
            }
            | { errors?: undefined; message: string; ok: boolean; realm: string },
        >

        { ok, realm }, or { ok: false, errors }