--- title: "Enabling or disabling SAML authentication using the CLI" slug: "enabling-or-disabling-saml-authentication-using-the-cli-1" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-09-01T19:03:12Z published: 2026-09-01T19:03:12Z canonical: "docs.trellix.com/enabling-or-disabling-saml-authentication-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enabling or disabling SAML authentication using the CLI Enable SAML authentication using the CLI and then perform configuration tasks from the **Setting > Authentication** tab on the Trellix appliance Web UI. ### Note The authentication Web UI tab displays only after SAML is enabled. ### Important SAML authentication is mutually exclusive with OIDC-based authentication. Prerequisites - Admin access to the appliance. **To enable SAML using the CLI:** 1. Log in to the appliance CLI. 2. Go to CLI configuration mode: ``` hostname # enable hostname # configure terminal ``` 3. Allow users to log in to the Web UI for SAML authentication. ``` hostname (config) # aaa authentication saml web policy allowed ``` 4. Verify your change: ``` hostname (config) # show aaa authentication saml ``` 5. Save your changes: ``` hostname (config) # write memory ``` **To disable the policy setting of the Web UI for SAML:** 1. Log in to the Email Security — Server CLI. 2. Go to CLI configuration mode: ``` hostname # enable hostname # configure terminal ``` 3. Disallow users to log in to the Web UI for SAML authentication. ``` hostname (config) # no aaa authentication saml web policy ``` 4. Verify your change: ``` hostname (config) # show aaa authentication saml ``` 5. Save your changes: ``` hostname (config) # write memory ``` :