Skip to main content

Function: assertBackupObjectKey()

assertBackupObjectKey(rawKey: string): string

Defined in: electron/services/cloud/internal/cloudServicePrimitives.ts:34

Ensures a user-supplied provider key refers to a backup object.

Parameters

rawKey

string

Returns

string

Remarks

This guard is intentionally strict because backup keys can cross multiple trust boundaries (IPC, cloud providers, filesystem provider sandboxes).