security_change_apply
Apply a previewed SingleStore security change to users, roles, grants, or resource pools after explicit confirmation; typed confirmation is required for destructive actions.
Instructions
Run one previewed change (users, roles, groups, grants, resource pools) on the cluster.
Refuses unless ``confirm`` is true: call it only after the user saw the plan (security_change_plan) and
explicitly confirmed. Where the plan asks for it (DROP, revoke all, the connected user or an admin user),
``typed_confirmation`` must be the name the user typed. The plan is rebuilt from fresh cluster state first,
and blockers (lock-out, last admin) refuse the change. ``password`` (create_user only) is sent as a bound
parameter and never returned, logged or stored.
Args:
action: The same action object as for security_change_plan.
confirm: Must be true: the user's explicit confirmation.
typed_confirmation: The object name the user typed, when the plan requires it.
password: The new user's password (create_user only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| confirm | No | ||
| password | No | ||
| typed_confirmation | No |