rotate-password
Rotate database passwords by secret reference, generating new values or applying supplied ones, with dry-run planning and optional plaintext storage.
Instructions
dbabrain common.cli rotate-password: Which secret refs to rotate, and how.
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):
refs: The refs.
match: Or a pattern.
allow_name_host: Removed in 0.26.0 (owner decision G3.4): a request carrying true is refused. A password is changed only on the instance db_instances.json names for its ref - never on a host taken from the ref's name.
host_overrides: {ref: host}.
password_length: How long a new password is.
passwords: {ref: new value}, instead of generating.
plaintext_store: Where a plaintext copy goes.
dry_run: Plan only: change nothing.
timeout_seconds: How long to wait.
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": "rotate-password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |