local_ydb_apply_auth_hardening
Apply a reviewed hardened YDB configuration only after preflight compatibility checks pass, then restart static and recreate dynamic nodes. Use confirm=true to execute; otherwise returns the plan.
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 | Absolute path to an explicit local-ydb config file. Missing, unreadable, oversized, or invalid explicit files fail closed instead of using defaults. | |
| configHostPath | No | Reviewed config.yaml path on the selected target host. Defaults to profile.authConfigPath when present. |