# Authentifizierung

"# Authentication

#### Autorisierung-Header

Um sich zu authentifizieren, fügen Sie Ihrem API-Anfrager einen x-http-authorization-Header hinzu, der einen API-Schlüssel enthält.

#### API-Schlüssel

Die Web-API v1 von IAF CertSearch unterstützt die Verwendung von API-Schlüsseln. API-Schlüssel ermöglichen die Verwendung einer anderen Methode zur Authentifizierung, die von Ihrem Kontonutzername und -passwort getrennt ist. API-Schlüssel fügen Ihrem Konto eine zusätzliche Sicherheitsebene hinzu und können so festgelegt werden, dass der Zugriff auf bestimmte Bereiche Ihres Kontos beschränkt wird. API-Schlüssel können in Ihrem Konto generiert werden. Um Schlüssel zu verwenden, müssen Sie einen Header mit dem Namen "x-http-authorization" mit dem Inhalt "(API-Schlüssel)" festlegen, wobei (API-Schlüssel) Ihren API-Geheimschlüssel darstellt.

#### Beispiel-Header

```http
GET https://api.iafcertsearch.com/api/client/v1/resource HTTP/1.1
x-http-authorization: Ihr.API.Schlüssel-HIER
```

````
curl -X "GET" "https://api.iafcertsearch.com/api/client/v1/templates" -H "x-http-authorization: Ihr.API.Schlüssel-HIER" -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-de/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.
