encrypt-secret
Encrypts a plaintext secrets file into a protected store, supporting JSON envelope or readable text output for DBA Brain credential management.
Instructions
dbabrain common.cli encrypt-secret: The plaintext secret source and the encrypted store to write; never the passphrase.
Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line.
Request fields (pass them as request):
source: The plaintext file; default secrets/secret_text.json.
dest: The encrypted store; default data/encrypted_secret_text.json.
format: json (the envelope, default) or txt (the lines a person reads).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "encrypt-secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |