Manage IPSec Policy
manage_ipsec_policyAdd, remove, enable, or disable IPSec policies idempotently using source and destination addresses and tunnel mode.
Instructions
Add, remove, enable, or disable an IPSec policy. Idempotent by composite key (srcAddress + dstAddress + tunnel).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | SA level | require |
| action | Yes | Action to perform | |
| dryRun | No | Preview changes without applying. | |
| tunnel | No | Tunnel mode — part of composite idempotency key | |
| routerId | No | Router ID; omit to use the default router. | |
| dstAddress | Yes | Destination CIDR — part of composite idempotency key | |
| srcAddress | Yes | Source CIDR — part of composite idempotency key | |
| ipsecAction | No | IPSec action (required for add) | |
| saDstAddress | No | SA destination IP for tunnel mode | |
| saSourceAddress | No | SA source IP for tunnel mode |