---
id: "http_authorization_header"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 75
url: "http://registry.apicrafter.io/datatype/http_authorization_header"
---

# HTTP Authorization header value (`http_authorization_header`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Value of the HTTP Authorization request header: an authentication scheme such as Basic, Bearer, Digest or Negotiate followed by the credentials.

- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^(?:[Bb]asic|[Bb]earer|[Dd]igest|[Nn]egotiate) \S.*$
```

## Mappings

- purview: `Http authorization header`, `All Credential Types`, `All credentials`

## Supported by tools

- `amazonmacie`
- `microsoftpurview`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-http-authorization-header>
- doc: <https://www.rfc-editor.org/rfc/rfc9110#name-authorization>

## Quality

Score 75/100. Missing: examples, negative example, translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/http_authorization_header.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/http_authorization_header.yaml>
