> For the complete documentation index, see [llms.txt](https://ai-security-docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](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).

# 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.
