Skip to content
Benchmarks

redact-secret · Report

Long-term API key (ABSK)

ABSK-prefixed standard-Base64 key for an IAM service-specific credential; its decoded form is BedrockAPIKey-<user>-at-<account>:<secret>.

  • Amazon Bedrock
  • Detectors: aws-bedrock-long-term-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-27
Registry detector aws-bedrock-long-term-api-key since redact-secret#864 (registry pinned at cfe2aec); graduated from a Beta.10 arrival family (#384, research #778), contract in benchmarks/lib/beta8/384b.ts. T1 by maintainer ruling of 2026-09-27 (redact-secret#778): the ABSK prefix and standard-Base64 alphabet, from the AWS Security Blog scan pattern; lengths stay T2. Not the short-term key, the public IAM alias or an access key id.

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-27

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-27 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

Descriptive pattern
^ABSKQmVkcm9ja0FQSUtleS[A-Za-z0-9+/]+={0,2}$

Parts are shown as recorded. Evidence classes belong to the facts below; no class is assigned to a part.

Format facts

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
prefix ABSK followed by standard Base64 (+, /, up to two =), not URL-safe. The decoded form is BedrockAPIKey-<user>-at-<account>:<secret>. Wiz measured 132 characters for a primary key; a +1 secondary key or a longer user name gives more. The 109 to 269 band in the git-secrets and gitleaks rules is the scanner authors' tolerance, not provider-stated.
Basis
T1 for prefix and alphabet, from the AWS Security Blog (2025-10-17) scan pattern, accepted by ruling. The IAM API reference supports the public alias versus secret split only. Length is T2 (Wiz measurement, scanner tolerance). Only betterleaks, a gitleaks port, was found to carry the shape among the other scanners checked.
Issuance
not attempted. Console (Bedrock, API keys, long-term) or aws iam create-service-specific-credential; shown once; maximum two keys per IAM user. The #778 checklist covers length, padding and decoded head.
Contract in core
detector-families.md; final evidence in the #864 record linked in the frontmatter.

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
44
Left readable
0
Redacted too much
0
False alarms
0

44 fixtures: 18 expect a redaction, 26 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented18000
T2Tool-corroborated17000
T3Project policy9000

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 it441530
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it44004
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped44000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it441800

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
T1 covers the ABSK prefix and Base64 alphabet only; total length (132, or 136 for a secondary key) and non-default IAM user names are T2. Needs issued keys (checklist in #778).

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
distinct from AKIA/ASIA access key ids and from the public credential alias. GitGuardian's page says "Not prefixed", which contradicts the blog. A scanner-author claim that GitHub secret scanning covers it is contradicted by GitHub's own pattern page.

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
gitleaks · rules 8.30.1aws-amazon-bedrock-api-key-long-livedABSK + 109-269 Base64 characters

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

44 of 44 rows

Fixtures in this family

44 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 Long-term API key (ABSK)
FixtureKind and evidenceredact-secret
aws-bedrock-long-term-api-key-access-log-authorizationaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-actions-envaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-agent-settingsaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-alias-base64-encoded-valueaws-bedrock · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-curl-beareraws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-dotenvaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-export-136aws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-inline-assignmentaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-java-httpclientaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-k8s-secret-beareraws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-key-shape-bareaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-key-shape-quotedaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-key-shape-unicode-crlfaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-litellm-model-listaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-lowercase-prefix-twinaws-bedrock · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
aws-bedrock-long-term-api-key-openai-sdkaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-pasted-keyaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-proxy-logaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-python-environaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-short-bodyaws-bedrock · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-tool-callaws-bedrock · documented-format-literalMust redactT1 · Provider-documentedRedacted
aws-bedrock-long-term-api-key-truncated-head-near-missaws-bedrock · format-near-missMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-actions-secret-referenceaws-bedrock · templated-referenceMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-devcontainer-paste-placeholderaws-bedrock · documentation-placeholderMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-docs-ellipsis-placeholderaws-bedrock · documentation-placeholderMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-embedded-leading-twinaws-bedrock · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
aws-bedrock-long-term-api-key-env-reference-referenceaws-bedrock · templated-referenceMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-iam-alias-public-idaws-bedrock · public-identifierMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-inference-profile-output-public-idaws-bedrock · public-identifierMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-key-guidance-proseaws-bedrock · prose-mentionMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-kubeconfig-ca-data-encoded-valueaws-bedrock · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-label-proseaws-bedrock · benign-lookalikeMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-leading-equals-twinaws-bedrock · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
aws-bedrock-long-term-api-key-long-base64-blob-encoded-valueaws-bedrock · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-maskaws-bedrock · benign-lookalikeMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-model-and-endpoint-public-idaws-bedrock · public-identifierMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-prefix-onlyaws-bedrock · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-prefix-only-near-missaws-bedrock · format-near-missMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-referenceaws-bedrock · benign-lookalikeMust not flagT3 · Project policyQuiet
aws-bedrock-long-term-api-key-service-credential-listing-public-idaws-bedrock · public-identifierMust not flagT2 · Tool-corroboratedQuiet
aws-bedrock-long-term-api-key-short-prefix-twinaws-bedrock · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
aws-bedrock-long-term-api-key-urlsafe-body-twinaws-bedrock · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
aws-bedrock-long-term-api-key-wrong-prefix-twinaws-bedrock · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
aws-bedrock-long-term-api-key-your-key-placeholderaws-bedrock · documentation-placeholderMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-27.

Documentation and code

Research log

Other Amazon Bedrock families