You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JetBrains Gateway requests new API key every ~5 seconds #567
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_keycreate 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.
Activity