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


---

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