Deephaven VS Code Extension - Data Storage

This document explains what data the Deephaven VS Code extension stores locally on your machine, where it is stored, and how you can manage or remove it. All data listed below is persisted beyond the current VS Code session and will remain until you manually remove it.

Data TypeStorage LocationPersistenceUser ControlDetails
Community server PSKsVS Code secret storagePersisted until removedCan be cleared via commandPSKs are stored in VS Code secret storage on successful login.
Enterprise private/public keysVS Code secret storage / Deephaven serversPersisted until removedPrivate keys can be cleared via commandPrivate keys are stored locally and encrypted. Public keys are uploaded to the server.
User script filesLocal file system / git reposUser-controlledManualStandard VS Code behavior; not specific to this extension.
VS Code logsLocal file system (VS Code log directory)Persisted until manually deletedManualLogs related to the extension are stored by VS Code in a shared log directory. Log file management is handled by VS Code; see the VS Code documentation for details.
Downloaded Deephaven logsLocal file system (user-specified location)Persisted until manually deletedManualWhen you download logs using the extension, they are saved to a location you choose. You are responsible for managing or deleting these files.

Clearing VS Code Secret Storage:
Use the VS Code command palette and run Deephaven: Clear Secrets to remove all items stored in VS Code secret storage by the extension (such as PSKs and private keys). This does not affect logs or user script files, which must be managed manually.