SAML IdP Configuration
Commands
netapi ise saml [COMMAND]
| Command | Description |
|---|---|
|
List configured SAML Identity Providers |
|
Create IdP from metadata XML file |
|
Delete a SAML Identity Provider |
|
List ISE Admin Groups for mapping |
|
Import Keycloak as IdP automatically |
Create IdP from Metadata
# Download IdP metadata first
curl -o idp-metadata.xml https://idp.example.com/metadata
# Create IdP in ISE
netapi ise saml create-from-metadata idp-metadata.xml --name "Corporate IdP"
Import Keycloak
# Automatically import Keycloak as SAML IdP
netapi ise saml import-keycloak \
--url https://keycloak.example.com/realms/master \
--name "Keycloak SSO"
This command:
-
Downloads Keycloak SAML metadata
-
Creates IdP in ISE
-
Configures attribute mapping
Use Cases
Enable Admin SSO
#!/bin/bash
# Setup Keycloak SSO for ISE Admin
# 1. Import Keycloak IdP
netapi ise saml import-keycloak \
--url https://keycloak.example.com/realms/master \
--name "Keycloak"
# 2. List admin groups for mapping
echo "Available Admin Groups:"
netapi ise saml list-admin-groups
# 3. Map groups in ISE GUI:
# Administration > Admin Access > Authentication > SAML IdP Groups