Regenerate Engine API Key
These steps cover regenerating the API key for an engine. If you are looking for the API keys to use the InsightAppSec API, see Getting Started With the InsightAppSec API.
Regenerating the API key for a busy engine
If you regenerate the API key for a busy engine, the engine becomes unavailable and loses any in-progress activities.
When to generate a new engine key
A new engine key should be generated only if you think the original engine key has been compromised.
Do not generate a new engine key if you are running the installer again. Instead, create a new engine with its own API key. Each engine you create needs its own API key.
Generate a new engine key
- Go to Settings > Manage on-premises engines.
- Click on the engine name you need to generate a new engine key for.
- Step 3 contains the API key information. From here you can generate a new engine key or copy the existing engine key.
Apply your new API key
After you regenerate your API key, you need to apply it to the engine.
- On the Engine host machine, open Windows Explorer and navigate to the installation location of the InsightAppSec Engine. The default location is
- Navigate to the
\broker\conffolder and open the file
- In the
restclient-platform.cfgfile, replace the value of the
credentialsproperty with the API key you regenerated. For example,
- Repeat this process for the file
Update both files
Make sure to update the
upgraderestclient-platform.cfg with the regenerated API key.
Did this page help you?