Run a trusted command with Bitwarden secrets
run_with_secretsInject selected project secrets as environment variables into an allowlisted executable. Secret values are redacted from output.
Instructions
Run one privately allowlisted executable with only the selected project secrets injected as environment variables. Command execution is disabled by default. Exact secret values are redacted from returned output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"secret_keys": "<secret_keys>",
"executable": "<executable>"
},
"name": "run_with_secrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| executable | Yes | ||
| project_id | No | ||
| secret_keys | Yes | ||
| timeout_seconds | No | ||
| working_directory | No |