---
id: "yandex_cloud_iam_token"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/yandex_cloud_iam_token"
---

# Yandex Cloud IAM token (`yandex_cloud_iam_token`)

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

Short-lived IAM token of Yandex Cloud, sent in the Authorization: Bearer header. The regexp is the one that the Yandex Cloud documentation gives for the current format, which starts with t1.; Yandex notes that a future format will change the prefix.

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

## Detection

Regular expression (Python `re`):

```
^t1\.[A-Za-z0-9_-]+={0,2}\.[A-Za-z0-9_-]{86}={0,2}$
```

## Examples

- `t1.` (invalid example) — Prefix without the secret

## Supported by tools

- `datadogsds`
- `githubsecretscanning`
- `gitleaks`

## Sources

- doc: <https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token>
- other: <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml>

## Quality

Score 70/100. Missing: examples, mapping (Wikidata, Schema.org, ...), translation.

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