Skip to content
Benchmarks

redact-secret · Report

API key

32-character API key.

  • Datadog
  • Detectors: datadog-api-key
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-23

Research record

From credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0. It describes the research on the format, not what any scanner or the product does, and not a support status.
  • Review stateDraft, not reviewed
  • Format revision1 · current
  • ResearchResearched
  • Researched2026-09-23

2 events in the review history: 1 observed, 1 reviewed. Latest: observed on 2026-09-23 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.

Format

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Shape not recorded.

Format facts

  • Provider documented · provider-source · current · observed 2026-09-23

    OpenAPI v1 ApiKey.key minLength/maxLength 32 and apiKeyAuth scheme: Datadog's own API reference spec (docs.datadoghq.com /resources/json/full_spec_v1.json, v1 ApiKey schema, generated from DataDog/documentation hugo/data/api/v1/full_spec.yaml) fixes the API key value at exactly 32 characters (minLength 32, maxLength 32) and names the DD-API-KEY header and DD_API_KEY environment variable. The constraint is stated on the v1 key model; the v2 schema states no length. The lowercase-hex alphabet is not provider-stated: the spec's example fits it, and it is corroborated by Datadog-owned code and tools only

    • docs.datadoghq.com/resources/json/full_spec_v1.jsonprovider-documentation · last read 2026-09-24 · latest outcome read · supports Datadog's own API reference spec (docs.datadoghq.com /resources/json/full_spec_v1.json, v1 ApiKey schema, generated from DataDog/documentation hugo/data/api/v1/full_spec.yaml) fixes the API key value at exactly 32 characters (minLength 32, maxLength 32) and names the DD-API-KEY header and DD_API_KEY environment variable. The constraint is stated on the v1 key model; the v2 schema states no length. The lowercase-hex alphabet is not provider-stated: the spec's example fits it, and it is corroborated by Datadog-owned code and tools only
  • Unresolved · tool-corroboration · current · observed 2026-09-23

    Pinned scanner rules are consistent with the contract grammar (1 artifact: trufflehog 3.97.4).

  • Unresolved · listed-references · current · observed 2026-09-23

    The legacy contract lists 1 reference without stating which property each supports.

  • Provider documented · dossier-research · current · observed 2026-09-23

    Legacy dossier research (verdict ready, tier T1) cited 2 sources; the dossier does not attribute sources to individual properties.

Open questions

No open question is recorded for this revision.

Benchmark dossier notes

From the provider dossier, as written. The evidence level above says how well the format is backed; a fact the dossier does not record is not shown.
Shape
exactly 32 characters, no prefix, no delimiter, no checksum. Lowercase hex in every observed value.
Basis
T1 for length: ApiKey.key in the v1 spec has minLength and maxLength 32, and securitySchemes.apiKeyAuth names DD-API-KEY and DD_API_KEY (fetched 2026-09-23). The v2 schema states no length. The alphabet is tool- and Datadog-code-corroborated only; Datadog's own validators disagree on uppercase A-F.
Issuance
not attempted. An empirical check of one fresh key (length 32, any uppercase, any fixed leading text) is specified in the #644 web-search pass.
Contract in core
detector-families.md (row datadog:api-key); evidence #644 record.

In this benchmark

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
Fixtures
36
Left readable
0
Redacted too much
0
False alarms
0

36 fixtures: 19 must stay quiet, 17 record project policy. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T2Tool-corroborated15000
T3Project policy21000

Every scanner on the same fixtures

In run order. Counts are what each scanner recorded on this family's fixtures, whichever rules it has; a scanner with no rule for the family has nothing to report on it.

Counts per scanner on this family's fixtures
ScannerFixturesLeft readableToo muchFalse alarms
flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engineNo rule maps to it361700
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it36101
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped36000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled2 rules target it361100

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Length 32 and the DD-API-KEY / DD_API_KEY markers are T1; the lowercase-hex alphabet is tool- and provider-code-corroborated only.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
a bare 32-hex run is common (MD5 digests, UUIDs without dashes), so the value needs marker context.

Scanner rules for this family

Mapped by hand (reviewed 2026-09-30) from each scanner's pinned rule file, never from what a scanner found on the fixtures.
Peer scanner rules that target this family
ScannerRuleWhat the rule matches
trufflehog · rules 3.97.4datadogapikeydatadog keyword + 32 characters
trufflehog · rules 3.97.4datadogtokendatadog or dd keyword + 32 or 40 characters

No rule maps to this family in flare-redact, gitleaks, openredaction.

36 of 36 rows

Fixtures in this family

36 rows, redact-secret's outcome on each. Rows that need a look come first (0), then the rest in corpus order. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in API key
FixtureKind and evidenceredact-secret
datadog-api-key-actions-envdatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-api-key-listing-public-iddatadog · public-identifierMust not flagT2 · Tool-corroboratedQuiet
datadog-api-key-bomdatadog · multibyte-text-offsetsProject policyT3 · Project policyRedacted
datadog-api-key-datadog-ci-inlinedatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-dd-api-key-headerdatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-docker-run-agentdatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-env-marker-baredatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-env-marker-quoteddatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-env-marker-unicode-crlfdatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-export-dd-api-keydatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-jsondatadog · structured-text-valueProject policyT3 · Project policyRedacted
datadog-api-key-markdowndatadog · markdown-and-comment-valueProject policyT3 · Project policyRedacted
datadog-api-key-no-final-newlinedatadog · value-at-input-edgesProject policyT3 · Project policyRedacted
datadog-api-key-pythondatadog · source-code-string-literalProject policyT3 · Project policyRedacted
datadog-api-key-python-environ-defaultdatadog · documented-format-literalProject policyT3 · Project policyRedacted
datadog-api-key-single-quotesdatadog · quoted-value-extentProject policyT3 · Project policyRedacted
datadog-api-key-tomldatadog · structured-text-valueProject policyT3 · Project policyRedacted
datadog-api-key-yamldatadog · structured-text-valueProject policyT3 · Project policyRedacted
datadog-api-key-agent-note-prosedatadog · prose-mentionMust not flagT3 · Project policyQuiet
datadog-api-key-audit-fingerprint-encoded-valuedatadog · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
datadog-api-key-bom-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-env-marker-bare-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-env-marker-quoted-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-env-marker-unicode-crlf-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-json-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-label-prosedatadog · benign-lookalikeMust not flagT3 · Project policyQuiet
datadog-api-key-markdown-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-maskdatadog · benign-lookalikeMust not flagT3 · Project policyQuiet
datadog-api-key-missing-markerdatadog · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
datadog-api-key-no-final-newline-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-python-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-referencedatadog · benign-lookalikeMust not flagT3 · Project policyQuiet
datadog-api-key-single-quotes-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-toml-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
datadog-api-key-truncated-in-prose-near-missdatadog · format-near-missMust not flagT2 · Tool-corroboratedQuiet
datadog-api-key-yaml-twindatadog · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-23.

Documentation and code

Research log

Other Datadog families