# Аутентификация

Below is the translated text:

## Аутентификация

#### Заголовок авторизации

Для аутентификации добавьте заголовок x-http-authorization к вашему API-запросу, который содержит ключ API.

#### Ключи API

Веб-интерфейс IAF CertSearch, версии 1, поддерживает использование ключей API. Ключи API позволяют использовать другой метод аутентификации, отдельный от имени пользователя и пароля вашей учетной записи. Ключи API добавляют дополнительный уровень безопасности для вашей учетной записи и могут быть назначены для ограничения доступа к определенным областям вашей учетной записи. Ключи API можно сгенерировать в вашей учетной записи. Чтобы использовать ключи, вы должны установить заголовок с открытым текстом с именем "x-http-authorization" со следующим содержимым заголовка "(API Key)", где (API Key) - ваш секретный ключ API.

#### Пример заголовка

```http
GET https://api.iafcertsearch.com/api/client/v1/resource HTTP/1.1
x-http-authorization: Your.API.Key-HERE
```

```
curl -X "GET" "https://api.iafcertsearch.com/api/client/v1/templates" -H "x-http-authorization: Your.API.Key-HERE" -H "Content-Type: application/json"
```


---

# 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://support.iafcertsearch.org/api-developer-guide/api-ru/api-integration/authentication.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.
