1. Home
  2. Platform Guide
  3. ET Agent
  4. API Key Rotation

Platform Guide · Rotating your ET API keyAPI Key Rotation

Rotating your API key revokes the old key immediately. Any agent or platform using the old key will stop receiving signals until you update it with the new one. This guide explains how to rotate the key and update your connected agents.

On this page 1. Rotate Key 2. Update MT5 EA 3. Update Agent Client 4. Update Web3 Agents 5. Verify Connections
Related ET Agent Guide Dashboard Overview
1

Rotate the key

Generate a new API key from the dashboard.

Instructions

  • Go to the API Key tab in the ET Agent section.
  • Click the Rotate button next to your key.
  • Confirm the action when prompted.
  • Copy the new key immediately. The old key will no longer work.
Rotate your key if it has been shared, exposed in a public repository, or if you are following a routine security schedule.
ET API Key
et_••••••••••••••••••••••••••••
Rotate

Sample data for illustration

2

Update the MT5 Expert Advisor

Replace the API key in your MetaTrader 5 inputs.

Instructions

  • Open the MT5 chart where the Expert Advisor is attached.
  • Open the Inputs tab.
  • Replace the value of ET_API_KEY with the new key.
  • Click OK and verify the EA reconnects on the next tick.
If the EA is attached to multiple charts, you must update the key on each chart individually.
MT5 EA Inputs
ET_API_KEY ••••••••••••••••
Backend URL https://elevatingtraders.com
DRY_RUN true

Sample data for illustration

3

Update the ET Agent Client

Replace the key in the Python agent configuration and restart.

Instructions

  • Open the .env file in the ET Agent Client folder.
  • Replace the value of ET_API_KEY with the new key.
  • Save the file.
  • Restart the agent process.
If the agent is deployed on a remote server, update the .env file on that server as well.
Agent .env
ET_API_KEY new_key_here
DRY_RUN true
PORT 8080

Sample data for illustration

4

Update Web3 agents

Update the configuration for the Hyperliquid and Lighter agents.

Instructions

  • Open the configuration file for the Hyperliquid Agent.
  • Replace the API key value with the new key.
  • Restart the agent process.
  • Repeat the same steps for the Lighter Agent.
Agent Configuration
Hyperliquid Agent config.json
Lighter Agent config.json

Sample data for illustration

5

Verify connections

Check the logs for each agent to confirm they are receiving signals.

Instructions

  • Check the MT5 Experts tab for a successful authentication message.
  • Check the terminal or log file for the ET Agent Client.
  • Check the logs for the Web3 agents.
If an agent fails to reconnect, ensure there are no extra spaces at the end of the API key when pasting it into the configuration file.
Agent Logs
[INFO] Authenticated with ET API
[INFO] Subscribed to 3 strategies
[INFO] Listening for signals...

Sample data for illustration

Rotation Notes

Rotation scheduleRotate your key periodically as a security measure, even if you have not shared it.
Open positionsIf an agent is managing an open position, rotating the key will interrupt its ability to receive exit signals. Avoid rotating during an active trade if possible.
Secure storageStore the new key securely and limit access to configuration files.
Keep exploring

Where traders go next

Signal API Authentication referenceTrade Automation The agents you updateDeploy Hub Execution settingsHelp Centre Connection fixes

Related Guides

Guides that explain how to use the tools referenced on this page.

ET Agent Guide

Overview of the ET Agent and signal delivery.

Auto vs Alert Mode

Understand when to let a strategy execute automatically.

Onboarding Checklist

The steps to connect your accounts.