FileMaker Data API Tools API - v1.2.0
    Preparing search index...

    Interface SecretStoreOptions

    interface SecretStoreOptions {
        fallbackMode?: SecretFallbackMode;
        workspaceState?: Memento;
        machineId?: string;
        logger?: SecretLogger;
        onFallbackEngaged?: (mode: SecretFallbackMode, reason: string) => void;
    }
    Index

    Properties

    fallbackMode?: SecretFallbackMode

    Fallback strategy when vscode.SecretStorage throws or is unavailable.

    • 'vscode-only' (default): rethrow; no fallback (preserves prior behavior)
    • 'workspace-state': encrypt and persist to Memento; for headless CI / remote agents
    • 'disabled': do not persist any secrets; reads return undefined; writes are no-ops
    workspaceState?: Memento

    Memento used as the workspace-state fallback. Required when fallbackMode === 'workspace-state'.

    machineId?: string

    Stable identifier mixed into the encryption key. Defaults to empty string. Pass vscode.env.machineId at the call site so secrets cannot be decrypted on a different machine.

    logger?: SecretLogger

    Logger for fallback warnings.

    onFallbackEngaged?: (mode: SecretFallbackMode, reason: string) => void

    Called once per instance when the fallback is first engaged. Inject the toast at the call site.