eng_...) is the credential for servers, scripts, CI and AI agents. Authentication shows how to send one; this page is about the keys themselves: which workspace and environment they belong to, how to create and find them, and what the API answers when a key goes out of bounds.
A key belongs to one workspace and one environment
Every new key is created for one workspace and one environment of your account - for example your Finance workspace in Production - and works only there. Keys created before keys were tied to a workspace and an environment are the exception: see Full account access below.- Requests made with the key run in that workspace and environment. Nothing in the request can point a key at a different one.
- Resources in another workspace or environment are invisible to the key: lists leave them out, and fetching one by id answers
404, exactly as if the id did not exist. Shared catalogs, such as the list of applications, are the same everywhere. - Create one key per environment an integration uses. A Staging key cannot touch Production.
Create a key
- Sign in at app.engini.io.
- Switch to the workspace and environment the key is for, using the switcher in the left navigation bar. With one workspace and only Production there is nothing to switch.
- Open API Keys in the left navigation bar and select Create Key.
- Copy the key. It is shown once and cannot be retrieved later; if you lose it, delete the key and create another.
Find, rename and delete keys
The API Keys page lists your own keys for the workspace and environment you are viewing. A colleague’s keys are not listed for you, and switching workspace or environment switches the list. Rename a key, or delete it: deleting takes effect within a minute, and any integration using the key then stops working. Some keys belong to no workspace or environment you can switch to, so they would be impossible to find and delete. They are listed in every workspace and environment view, with a label:Check which workspace and environment a key is for
GET /v1/auth/whoami reports the workspace and environment behind a key:
workspace and environment are null for a key that has no scope (the Full account access label above) and for any caller that is not a key. environment.type is Production, Staging or Development.
Errors a key can get
These come on top of the usual error codes. Branch onerrorCode.
A Full account access key (created before keys were tied to a workspace and an environment) may still reach some endpoints outside
/v1 until it is moved onto a workspace and an environment.
Solutions are installed in the app, not with a key
Installing, updating and uninstalling a solution is done in the Engini app. An API key cannot do it: those three calls answer403 API_KEY_NOT_ALLOWED, whether or not the key has a scope.