Skip to main content

Function: deleteProviderSecretsBestEffort()

deleteProviderSecretsBestEffort(args: { operationLabel: string; secretKeys: readonly string[]; secretStore: SecretStore; }): Promise<void>

Defined in: electron/services/cloud/internal/providerSecretCleanup.ts:16

Deletes provider-related secrets without failing the caller when cleanup cannot be completed.

Parameters

args

operationLabel

string

secretKeys

readonly string[]

secretStore

SecretStore

Returns

Promise<void>

Remarks

Secret cleanup is often a post-success hygiene step (for example after a provider switch). Failing the entire operation because stale credentials could not be removed leads to inconsistent UX and partial-state errors.