ise_add_deployment
Register a new Cisco ISE deployment with admin host, ERS credentials, and optional Data Connect/Monitoring settings, then return the exact terminal commands needed to set passwords securely afterward.
Instructions
Add a new ISE deployment to the registry (non-secret fields only — passwords are NEVER passed here). Returns the exact terminal command(s) to set the password(s) afterwards. Required: name and host (and ers_username for any ERS/Open API use). Reports every missing/invalid field at once. GUIDED FLOW — before calling, gather the optional surfaces by asking the user (do not assume): (1) Is Data Connect reporting needed, or ERS API only? If not needed, set dataconnect_enabled=false. (2) If needed: does Data Connect run on the same node as the admin host, or a separate Monitoring (MnT) node? If separate, set dataconnect_host. (3) Certificate: if the Data Connect cert is SELF-SIGNED, the user must export it and you set dataconnect_cert_path to the saved .pem; if it is CA-SIGNED, either set dataconnect_os_trust=true (validate against the OS CA store, no file needed) or point dataconnect_cert_path at the exported root-CA file. (4) Ask whether to enable the Monitor API (MAPI/MnT) via monitoring_enabled — it needs the ERS account in ISE's 'MnT Admin' group. Data Connect is always preferred over MAPI for reporting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ISE admin-node IP or FQDN, e.g. 10.1.1.1. | |
| name | Yes | Descriptive label, e.g. 'RADIUS Only' (not a bare number). | |
| ers_port | No | ERS port (443 gateway, or 9060). | |
| verify_ssl | No | Verify the ISE admin TLS cert. Keep true; set false ONLY for self-signed labs (disables MITM protection for admin credentials). | |
| ca_cert_path | No | Path to a PEM CA bundle to trust for the ERS/Open API/Monitoring (admin) TLS connections. REQUIRED when verify_ssl=true and ISE uses a private/internal CA: httpx trusts only the built-in certifi roots and never reads the OS trust store (macOS Keychain imports do NOT help). Point this at the exported ISE root CA (Base64/PEM). Omit to use the public certifi roots (only works if the admin cert chains to a public CA). | |
| ers_username | No | ERS/Open API admin username for this node. | |
| make_default | No | Make this the default deployment. | |
| openapi_port | No | Open API port (443 gateway, or 9070). | |
| dataconnect_sid | No | cpm10 | |
| dataconnect_host | No | Data Connect (MnT/Monitoring node) IP or FQDN. Defaults to the admin host if omitted — set it when the MnT persona runs on a different node than the primary Admin node. | |
| dataconnect_mode | No | thin = no Oracle client (PEM cert); thick = Instant Client + wallet. | thin |
| dataconnect_port | No | ||
| dataconnect_user | No | dataconnect | |
| monitoring_enabled | No | Enable the Monitoring API (MAPI / MnT, ise_mnt_*) for this deployment. Opt-in: needs the ERS account in ISE's 'MnT Admin' admin group. Prefer Data Connect for reporting. | |
| dataconnect_enabled | No | Enable Data Connect (reporting DB) for this deployment. | |
| dataconnect_os_trust | No | CA-signed Data Connect cert: validate the chain against the OS/default CA trust store instead of a downloaded PEM (no cert_path needed). Leave false for a self-signed cert. macOS reads the OpenSSL/certifi bundle, not the Keychain. | |
| dataconnect_cert_path | No | Path to THIS deployment's exported Data Connect certificate (PEM). Required for a SELF-SIGNED cert; for a CA-signed cert use this for a root-CA file OR set dataconnect_os_trust instead. | |
| dataconnect_verify_ssl | No | ||
| dataconnect_wallet_path | No | Wallet directory (thick mode, or thin via ewallet.pem). | |
| dataconnect_oracle_client_lib | No | Optional Oracle Instant Client dir (thick mode). |