> 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="/files/ZycAq7gn0tZDt3aXHefK" alt=""><figcaption></figcaption></figure>
