-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Description
When using JetBrains Gateway to connect to Coder workspaces, the Audit Logs show that brand-new API keys are created about every 5 seconds for the signed-in user. This appears to be triggered by the Gateway > Coder plugin repeatedly creating keys, i.e., performing a coder login
operation.
This causes the audit logs to be flooded with api_key.create events
which is how this issue was discovered (coder/coder#19671)
Current Behavior
Having JetBrains Gateway open causes new API keys to be created roughly every 5 seconds.
Expected Behavior
- Opening JetBrains Gateway (Coder plugin) does not create new API keys more than once per session (or according to a documented refresh policy).
- Audit logs remain stable with no repeating
api_key.create
events every ~5s.
Steps to Reproduce
- Close all instances of JetBrains Gateway, JetBrains Toolbox, and any JetBrains IDEs.
- In Coder UI, open Audit Logs and query for
api_key
create
events:resource_type:api_key action:create username:YOUR_USERNAME
- Launch JetBrains Gateway and open the Coder plugin.

- Watch Audit Logs: observe a new API key creation event approximately every ~5 seconds.

Environment
- Coder deployment: Dogfood environment (Coder v2.26.0)
- JetBrains Gateway 2025.2.1 (configured as in docs)
Notes
- Connecting to Coder via JetBrains Toolbox creates initial connections, but does not create them continuously every 5 seconds.
- A known issue was added in Coder v2.6.0 release notes regarding this issue: https://github.com/coder/coder/releases/tag/v2.26.0