Variable rotateEncryptionKeys
rotateEncryptionKeys: (
realmId: any,
kinds: any,
overlapMs: any,
why: any,
) => Promise<
{ generation: number; ok: boolean; rotated: any[]; why: string },
> = rotateEncryptionKeys
Type Declaration
-
- (
realmId: any,
kinds: any,
overlapMs: any,
why: any,
): Promise<{ generation: number; ok: boolean; rotated: any[]; why: string }>
-
Parameters
- realmId: any
- kinds: any
- overlapMs: any
- why: any
Returns Promise<{ generation: number; ok: boolean; rotated: any[]; why: string }>
a promise of { ok, why, generation, rotated: [{ kind, from, to }] }
Replaces a realm's request-decryption keys of the kinds named, the new ones made off the event loop; each key replaced is retired, kept only to decrypt until
overlapMshas passed.