The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Enabling or disabling SAML authentication using the CLI

Prev Next

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