Secret - Set
Type identifier:
secret:setCategory: Secret Operations
Description
The Secret - Set node securely stores a secret value in the secret store. Secrets are encrypted at rest and can be retrieved later using the Secret - Get node. Use this node to store API keys, passwords, tokens, and other sensitive credentials.
Input Handles
Handle | Type | Description |
|---|---|---|
| control | Triggers the set operation. |
|
| The secret value to store. |
|
| (Dynamic) Path to store the secret at. |
Output Handles
Handle | Type | Description |
|---|---|---|
| control | Triggered when the secret is stored. |
| control | Triggered when storage fails. |
Configuration Options
Option | Type | Default | Description |
|---|---|---|---|
Path |
|
| Path for the secret in the store. |
Value |
| dynamic | The secret value to store. |
For a literal path, the Secret picker lists existing Space secrets. Enable Advanced to enter a path manually, including a new path, or enable Dynamic? to supply the path through its input handle. An existing path that is not listed opens in Advanced mode without changing the saved path. If the list cannot load, an error is shown and the path remains editable manually. Changing between the picker and Advanced does not change the stored path or value.
New nodes start with no secret selected and Advanced off.
The unselected default is not a valid execution path. Select a secret or enter a complete path before running the Flow. Empty path segments are rejected without contacting the secret store; this applies in both picker and Advanced modes.
Behaviour
- Receives trigger and value
- Encrypts the secret value
- Stores at the specified path
- Triggers success or error control flow
Overwriting
If a secret already exists at the path:
- The existing value is overwritten
- No warning is provided
Security
- Values are encrypted before storage
Examples
Store API Key
Configuration:
- Path:
["external-api", "key"] - Value: dynamic
Input:
value: "sk-abc123..."
Rotate Credentials
Flow:
- Integration - HTTP: Request new API key
- Secret - Set: Store the new key (automatically replaces value)