> For the complete documentation index, see [llms.txt](https://docs.vectra.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vectra.ai/configuration/access/external-authentication-qux/tacacs-qux.md). Agents can also search and read this documentation through its [MCP server](https://docs.vectra.ai/~gitbook/mcp).

# TACACS+ (QUX)

Configure TACACS+ authentication profiles in QUX and migrate existing users to TACACS+ profiles with the API.

Vectra Cognito's TACACS+ Authentication supports the following protocols:

* PAP
* CHAP

NOTE: ASCII, MSCHAPv1 and MSCHAPv2 authentication methods are not currently supported.

### Setup TACACS+ Profile

To configure, browse to *Configuration → ACCESS → External Authentication → TACACS+ Profiles* and click **Create**.

Provide the following required fields and the correct protocol.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-1d228e46ccf2781facb85374eeb5b1155296ba49%2Faee3004a5c624c43c1dee141fbc971b3e82f7483175524889f72eca11380e281.png?alt=media)

Click on **Create** and you should see a message "TACACS profile created!"

Once the Profile has been created you should assign users to this profile.

You can create new users under *Configuration → ACCESS → Users* or use the API to migrate users to the new profile. At this time the web interface cannot be used to migrate existing users to a new authentication method without first deleting and recreating the users.

### Steps to migrate existing users to TACACS+ profile via REST API

Send a PATCH request to:

```
URL: https://<mgt_ip>/api/v2/users/<id>
Headers : "Authorization": "Token <api-key>"" "Content-Type": "application/json"
Body: {"account_type": "TACACS", "authentication_profile": "tacacs-profile"}
```

For more information regarding using the REST API go to **Resources - REST API Guide**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vectra.ai/configuration/access/external-authentication-qux/tacacs-qux.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
