Skip to content
Benchmarks

redact-secret · Report · Detector

Amazon Bedrock long-term API keys

  • 44 fixtures
  • Format evidence: T1 · Provider-documented
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14

Format evidence

  • Provider documentation AWS Security Blog detection pattern for long-term keys (ABSKQmVkcm9ja0FQSUtleS[A-Za-z0-9+/]+={0,2}) · observed 2026-09-26 · AWS's own security blog prints a scan pattern for the long-term key: the ABSK prefix, a fixed head that is the Base64 of BedrockAPIKey-, and a standard-Base64 body with up to two = pad characters. A provider blog is not a format specification; the maintainer ruling of 2026-09-27 (redact-secret#778) accepts it as T1 evidence for the ABSK prefix and the standard-Base64 alphabet only. Lengths and IAM user-name variants stay T2
  • gitleaks 8.30.1
  • awslabs/git-secrets
  • Wiz measurement
  • Reference 1
  • Reference 2
  • Reference 3
  • Reference 4
  • Reference 5
  • Reference 6

Arrival evidence (#384, product redact-secret#864; research #778), T1 by maintainer ruling of 2026-09-27 for the ABSK prefix and standard-Base64 alphabet, graduated to a registry detector at cfe2aec: the AWS Security Blog pattern is provider-authored (prefix, fixed head, standard Base64 with up to two = pads), and gitleaks 8.30.1 and awslabs/git-secrets agree on the ABSK prefix with a 109..269-character standard-Base64 tolerance, but no provider page states a length, and the blog is a scan pattern rather than a format specification. Wiz measured 132 characters for a console key; layout arithmetic gives 136 for a second key on the same IAM user, which the positives carry. The key decodes to BedrockAPIKey-<user>-at-<account>:<secret>, where the public alias is the part before the colon. The 18-character head holds only when the IAM user name starts BedrockAPIKey-; an ABSK-only key with another head is a T2 shape that this contract does not assert either way (no fixture asserts silence on a head-less ABSK value). No length, ceiling or checksum twin is authored: the widths are tool-corroborated ranges, not a provider statement.

What the run recorded, by group

Detector views overlap, so their groups are never summed across detectors. Other scanners are reference values on the same inputs, in run order.
Groups of Amazon Bedrock long-term API keys fixtures
GroupFixturesLeaked or false alarmsNear-twinsOutcomesOther scanners, same cell
Must not flag · Tool-corroborated17False alarmsat most 18.4%0 of 17 controls flagged17 quiet · 0 flagged
  • flare-redact at most 18.4%
  • gitleaks at most 47.3%
  • trufflehog at most 18.4%
Must not flag · Project policy9False alarmsat most 29.9%0 of 9 controls flagged9 quiet · 0 flagged
  • flare-redact at most 29.9%
  • gitleaks at most 29.9%
  • trufflehog at most 29.9%
Must redact · Provider-documented18Secret spans left readableat most 17.6%0 of 18 spansNear-twins told apartinsufficient-coverage6 of 6 pairs18 redacted · 0 too much · 0 partly exposed · 0 missed
  • flare-redact at most 94.2%
  • gitleaks at most 17.6%
  • trufflehog at most 100.0%
44 of 44 rows
Fixtures
44
Left readable
0
Redacted too much
0
False alarms
0

Fixtures for this detector

44 fixtures. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Amazon Bedrock long-term API keys
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