# ConnectorAuthenticationHeader

A credential sent with every call of a tool: a secret's value, in an HTTP header. The tool's connector needs `Header` authentication.

**Kind:** an object, used in requests and responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `headerName` | `string` | The HTTP header the secret's value is sent in. For `Authorization`, a value without a space is sent as `Bearer <value>`. Constraints: required (empty or whitespace-only strings are rejected). |
| `secretId` | `uuid` | The id of the secret whose value is sent. Constraints: required (empty or whitespace-only strings are rejected). |

## Example

```json
{
  "headerName": "...",
  "secretId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
}
```

## Where it's used

- Inside [`McpExternalOperationBinding`](https://docs.maitento.com/reference/types/mcp-external-operation-binding.md)
- Inside [`McpExternalOperationCreateRequest`](https://docs.maitento.com/reference/types/mcp-external-operation-create-request.md)
- Inside [`McpExternalOperationVersion`](https://docs.maitento.com/reference/types/mcp-external-operation-version.md)
- Inside [`OpenApiExternalOperationBinding`](https://docs.maitento.com/reference/types/open-api-external-operation-binding.md)
- Inside [`OpenApiExternalOperationCreateRequest`](https://docs.maitento.com/reference/types/open-api-external-operation-create-request.md)
- Inside [`OpenApiExternalOperationVersion`](https://docs.maitento.com/reference/types/open-api-external-operation-version.md)
