---
id: "aws_account_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["identifiers"]
langs: ["common"]
quality: 83
url: "http://registry.apicrafter.io/datatype/aws_account_id"
---

# AWS account ID (`aws_account_id`)

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

Twelve-digit number that identifies an Amazon Web Services account, for example in the account field of an ARN. AWS states that account IDs are not secret, but secret scanners report them because they help to target an account.

- Personal data (PII): no
- Categories: Universal unique identifiers (identifiers)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9]{12}$
```

## Examples

- `111122223333` — Example account ID from the AWS IAM documentation
- `11112222333` (invalid example) — Eleven digits

## Supported by tools

- `semgrep`

## Translations

- ru: Идентификатор аккаунта AWS

## Sources

- doc: <https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-identifiers.html>

## Quality

Score 83/100. Missing: second example, mapping (Wikidata, Schema.org, ...).

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