---
title: "The Azure auth header plugin"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-destinations/configuring-destinations-http-nonjava/plugin-azure-auth-header/"
last_modified: "2023-07-02T20:37:04+02:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axosyslog-core/4.28/llms.txt).

# The Azure auth header plugin

This section describes the AxoSyslog application’s Azure auth header plugin.

For more information about modules in AxoSyslog, see [Using modules](https://axoflow.com/docs/axosyslog-core/4.28/chapter-configuration-file/modules/index.md).

## The Azure auth header plugin

The Azure auth header plugin is a signal-slot mechanism-based AxoSyslog module that generates authorization headers for applications that connect to Microsoft Azure.

## Defining the Azure auth header plugin

You can define the Azure auth header plugin by the following:

```shell
   azure-auth-header(
      method("POST")
      path("/api/logs")
      content-type("application/json")
      workspace-id("<workspace-id>")
      secret("<auth-secret>")
    )
```

## Options

> **Note:**
> All these options are mandatory. They are used as input for the method that calculates the authorization header.

Last modified July 2, 2023: [Change highlight mode of code examples (2f8a9593)](https://github.com/axoflow/axosyslog-core-docs/commit/2f8a95937c6498193e7168ce8b0dc831e9f0f8ad)
