# Keep an API key as a secret

> Save another system's API key once, sealed, for automations' requests and AI Actions to send without anyone seeing it.

URL: https://rei-vantage.com/docs/automations/keep-an-api-key-as-a-secret
For: admin
Updated: 2026-11-30

A secret is an API key saved in your portal under a name, such as **ZAPIER_KEY**. An automation's request, or an AI Action reaching a website, names the secret, and the key is added when it sends. The key itself is never written into the automation, never shown in its runs, and never shown again after you save it.

Only admins can see the **Secrets** page, or even the secrets' names.

## Add a secret

1. On the **Automations** page, click **Secrets** on the rail at the left, then **New Secret**.
2. Give it a **Name** in capitals, such as **ZAPIER_KEY**. Letters, numbers and underscores, starting with a letter.
3. Paste the key under **Value**. It must be one line, at least 8 characters.
4. Say **What it is for** if you like, then click **Add**.

   *[Figure: The New secret window with ZAPIER_KEY as its name, the key hidden under Value, what it is for, and Add at the bottom right]*

From now on the page shows only the key's last four characters (or none, for a key shorter than 12).

You can also give Claude the key through the portal's MCP server and ask it to save it as a secret.

## Use it

Name the secret when you describe the request: "with the ZAPIER_KEY secret as a Bearer token", or "send the ESRI_TOKEN secret in the X-Api-Key header" ([Send data to another system](https://rei-vantage.com/docs/automations/send-data-to-another-system)). An AI Action can send one to a website it reaches in the same way ([Add an AI Action](https://rei-vantage.com/docs/automations/add-an-ai-action)).

## See where it's used

The **Secrets** page lists every secret, with its **Value** (the last four characters), the automations that send it under **Used by**, and when it was **Last used**.

## Replace or delete it

When the key changes, open the secret's **⋮** menu and choose **Replace value**. Paste the **New value** and click **Replace**. Every automation that sends it uses the new one from then on.

To delete one, choose **Delete** from the same menu. A secret an automation still sends, or that a run under way still has to send, can't be deleted: the window names the automations to change first.
