secrets_inject
Inject vault secrets into HTTP requests without exposing them to the agent. Replace placeholders like {{API_KEY}} server-side, execute the call, and scrub secrets from responses.
Instructions
Make an HTTP request with vault secrets injected server-side. The agent NEVER sees the raw secret — Guard substitutes placeholders like {{API_KEY}} with the real value, makes the call, and scrubs secrets from the response. Requires secrets.proxy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL (can contain {{SECRET_NAME}} placeholders) | |
| body | No | Request body (can contain {{SECRET_NAME}} placeholders) | |
| method | No | HTTP method | |
| headers | No | Request headers (can contain {{SECRET_NAME}} placeholders) | |
| secretMappings | Yes | Map of placeholder → vault secret name, e.g. {"{{API_KEY}}": "openai_key"} |