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

# Azure Storage account key (`azure_storage_account_key`)

> **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.

Access key of an Azure Storage account: 512 bits encoded in Base64, which gives 86 characters followed by two equals signs.

- 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`):

```
^[A-Za-z0-9/+]{86}==$
```

## Mappings

- purview: `Azure storage account access key`, `Azure Storage account key (generic)`, `All Credential Types`, `All credentials`

## Supported by tools

- `azureailanguage`
- `detectsecrets`
- `microsoftpurview`
- `trufflehog`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-azure-storage-account-key-generic>
- doc: <https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage>

## Quality

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

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