Goal
Let a Call a web address step authenticate without exposing the key.Prerequisites
- Permission to edit the automation.
Workflow
1
In the editor, open Secrets this automation uses.
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.
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
The request carries the secret in the header you chose, and run details show it masked.
Related guides
Steps
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.