# 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](../../../docs/axosyslog-core/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:
```
 
       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>)