> For the complete documentation index, see [llms.txt](https://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://docs.akto.io/test-editor/concepts/test-yaml-syntax-detailed/auth.md).

# Auth

Auth section is used for specifying that the endpoint selected for running the test 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 test 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://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-82f06e9602ba8039015089321cf9182c30c299f0%2FUntitled.png?alt=media" alt=""><figcaption></figcaption></figure>
