> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackshift.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Secrets and credentials

> Store API keys on the automation itself. Each secret is encrypted, sent only to the one host you name, and never shown in runs or events.

> [!TIP]
>
> **Live.** This area is documented as current, user-reliable behavior.

## Goal

Let a Call a web address step authenticate without exposing the key.

## Prerequisites

* Permission to edit the automation.

## Workflow

**Step 1**

In the editor, open Secrets this automation uses.

**Step 2**

Add a name such as BILLING\_API\_KEY, the host it may be sent to such as api.example.com, the header such as Authorization, an optional prefix such as Bearer, and the value.

**Step 3**

In a Call a web address step, choose that secret.

## Rules

* Names use capital letters, digits and underscores, starting with a letter, up to 64 characters.
* A secret is only sent to its exact host. A step pointing elsewhere cannot use it.
* Values are encrypted, never returned by the API, never put in events and masked in runs. To change one, enter a New value.
* Secrets belong to one automation. Each secret shows who set it, when, and which steps use it.

## Expected result

> [!TIP]
>
> The request carries the secret in the header you chose, and run details show it masked.

## Related guides

> [card] [Steps](https://docs.stackshift.cloud/automations/steps.md)
>
> Add any StackShift action as a step, plus Call a web address, Check a value, Ask Stackie and Wait. Use earlier steps’ outputs as inputs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.