Variable promoteGenerations
promoteGenerations: (
realmId: any,
options: any,
) => Promise<
| {
dropped: any[];
generation?: undefined;
ok: boolean;
rotated: any[];
why: string;
}
| {
dropped: any[];
generation: number;
ok: boolean;
rotated: any[];
why?: undefined;
},
> = promoteGenerations
Rotates a realm's signing keys: each wanted unit's
nextbecomes current, and the current one is retired forgraceMs, then a freshnextis minted.With
emergency, the current key and itsnextare dropped at once instead of retired, and the caller revokes their certificates.