local_ydb_apply_auth_hardening
Apply reviewed YDB auth hardening after preflight validation, restart static node, recreate dynamic nodes, and verify stability with rollback on mismatch. Plan-only unless confirm=true.
Instructions
Apply a reviewed hardened YDB config file only after a full check-only static profile and configured-binding compatibility preflight succeeds before any config or container mutation; immutable mismatches require destroy followed by bootstrap. It then restarts the static node and recreates and verifies every configured dynamic node in index order even when no dynamic-node token file is configured. Exact-container running stability and IC registration must both pass before metadata verification, and rollback uses restart or bootstrap reconciliation after restoring the static config. Use only after preparing and reviewing the config; without confirm=true this returns the preflight/apply/recreate plan only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to apply the auth hardening config and restart local-ydb. Omit or false for plan-only output. | |
| profile | No | Named profile from local-ydb.config.json. Defaults to config.defaultProfile. | |
| configPath | No | Explicit local-ydb config file path to load for this tool call. Useful when the MCP server should pick up a different config without restart. | |
| configHostPath | No | Reviewed config.yaml path on the selected target host. Defaults to profile.authConfigPath when present. |