# Create and Edit Auth Types

Auth types define how Akto identifies and handles authentication in agent components. You can create custom auth types or modify existing ones to match your agentic system's authentication patterns.

## Creating a New Auth Type

1. Navigate to **Agentic Discovery > Collections**
2. Go to **Auth Types** section
3. Click **Create Auth Type**
4. Enter a descriptive name
5. Define conditions that identify this auth type (e.g., header patterns, token formats)
6. Click **Save**

## Editing an Existing Auth Type

1. Navigate to **Auth Types**
2. Select the auth type to modify
3. Update the name or conditions
4. Click **Save**

Use clear, descriptive names and start with specific conditions, adding broader ones if needed. Test new or edited auth types on sample components to ensure correct identification.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai-security-docs.akto.io/akto-argus-agentic-ai-security-for-homegrown-ai/agentic-red-teaming/how-to/create-and-edit-auth-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
