ETLMCPData Conveyance Works
Log in Start free
Docs

Creating, storing and revoking API keys

How to create an etlmcp API key, why its secret is shown only once, what a key can reach, who may revoke it and when it stops working on its own.

You create an API key on the API page of the etlmcp app, and the app shows you its secret exactly once, in a dialog you copy it from. etlmcp keeps only a SHA-256 hash of the secret, so nobody can show it to you again: if you lose a key, revoke it and create a new one. Each key acts in one workspace, for the person who created it, and stops working when it is revoked or when that person loses access to the workspace.

Creating a key

Open the API page in the app and fill in the form under "Create a Key":

  • Name: where the key will be used, such as "Looker refresh script" or "Claude Code on my laptop". The name is required: the form will not send a blank one, and a name made only of spaces is refused with name: give the key a name.
  • Workspace: shown only when you belong to more than one. The key acts in the workspace you pick; without a choice it takes the one you are working in.
  • May start runs: leave it unticked for a key that only reads. Every key gets the read scope; ticking the box adds the run scope.

You need a verified email address to create a key. Until you verify, the page tells you to verify first, and a direct call is refused with verify your email first. If an owner has not yet added you to any workspace, the form is replaced by a note asking for that first.

When you press "Create key", a dialog shows the full secret with a Copy button and a warning that it will not be shown again. Store it in your secrets manager before you close the dialog. The secret starts with etk_, and is never written into the page as markup, logged or kept in the browser once the dialog closes.

What etlmcp stores

etlmcp never stores the secret itself. It keeps a SHA-256 hash of it, which is enough to check a key you send but not to recover it: the Secure Hash Standard calls SHA-256 secure because working back from a digest to its message is computationally infeasible. Alongside the hash it keeps the first characters of the secret as a display prefix, so the keys table can show something like etk_… that lets you tell your keys apart and match one against the value in a config file.

The keys table lists, for each key: its name, workspace, display prefix (in the Key column), scopes, who created it, when, and when it was last used ("Never" until its first call). The last-used time is not rewritten on every request, so for a key in constant use it can trail your latest call by a little.

How many keys an organization can have

An organization has a cap on active keys, counted across all its workspaces; revoked keys do not count. Creating one past the cap fails with HTTP 409 and the message an organization can have at most {…} active keys, followed by a request to revoke one first.

Using a key

Send the key in the Authorization header as a bearer token, for both the REST API and the MCP server:

curl -H "Authorization: Bearer $ETLMCP_API_KEY" \
  https://app.etlmcp.com/api/v1/pipelines

Never put a key in a URL. A request that carries a credential in the api_key, access_token or token query parameter is refused with HTTP 400 and send credentials in the Authorization header, never in the URL. A missing, mistyped or revoked key gets HTTP 401 and invalid or missing credentials.

A key without the run scope can read sources, destinations, pipelines, runs and data, but it cannot start one. Through the REST API, Start a run fails with HTTP 403 and this credential cannot start runs. Through MCP, the tool run_pipeline returns a tool error instead: this credential cannot start runs; create a key with the run scope. Each key is its own credential for the rate limit: it may make 120 requests a minute, REST and MCP calls counted together. The REST API reference and the MCP reference list every operation.

Revoking a key

Press "Revoke" next to the key in the keys table. Anything using that key stops working at once, and a revoked key cannot be turned back on. Revoked keys stay in the table, marked "Revoked".

Who may revoke:

  • An organization owner can revoke any key in the workspaces they reach.
  • A member can revoke only the keys they created.

Revoking, like creating, needs a verified email.

When a key stops working on its own

A key belongs to its creator as much as to its workspace, and etlmcp checks on every request that the creator still reaches that workspace. A key stops working for good when:

  • its creator leaves the organization or is removed from it, which revokes it;
  • its creator loses their seat in the key's workspace, which revokes it too, unless the creator is an owner;
  • its workspace is deleted, which deletes its keys with it.

Adding the person back does not bring old keys back. Before someone leaves, create replacement keys under a person who stays, and move your scripts and agents to them. See workspaces and roles for how seats and owners work.

Related

Sources

  1. Secure Hash Standard (SHS) — nvlpubs.nist.gov, checked