Function: deleteProviderSecretsBestEffort()
function 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
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.