> 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/probe-library/concepts/test-yaml-syntax-detailed/auth.md).

# Auth

Auth section is used for specifying that the endpoint selected for running the probe should be authenticated. Auth header is stripped off and a sample request is made. If the request gives status 2xx, then we skip running the probe on that particular endpoint.

**How Header Is Selected By Yaml Execution Engine -**

Key Defined in User Config Section is picked as authentication header.

<figure><img src="https://3128331180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftog5ODwYfqPOf4eQhsOC%2Fuploads%2Fgit-blob-82f06e9602ba8039015089321cf9182c30c299f0%2FUntitled.png?alt=media" alt=""><figcaption></figcaption></figure>
