stage_secret
Store pasted API keys, tokens, or private keys in an encrypted local vault and return equivalent text with non-exposing handles substituted, keeping raw secrets out of prompts and logs.
Instructions
Store any secrets in text and return it with handles substituted.
Use this the moment a user pastes an API key, token, or private key. The returned text is safe to repeat; the original was written to an encrypted local vault and is not returned.
Args: text: the raw text containing the secret(s). name: optional handle to force, e.g. "stripe" -> {{stripe}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |