AWS Bedrock API Key

Detects Amazon Bedrock API keys, which start with the case-sensitive prefix ABSK followed by 100 to 260 Base64/URL-safe characters. Leaked Bedrock bearer tokens allow unauthorized model invocation and billed inference against enabled foundation models in the target AWS account.

Type
regex
Engine
boost_regex
Confidence
high
Confidence justification
High confidence: Amazon Bedrock long-term and short-term API keys carry the distinctive uppercase ABSK prefix and a long encoded payload (104-264 characters total), making accidental collisions in ordinary text negligible.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth)
Frameworks
CIS Controls, ISO 27001, NIST CSF, SOC 2
Data categories
credentials, security
Scope
narrow
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, CrowdStrike DLP: Unsupported, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?-i)(?<![A-Za-z0-9+/_-])(ABSK[A-Za-z0-9+/=_-]{100,260})(?![A-Za-z0-9+/=_-])

Corroborative evidence keywords

bedrock, AWS_BEARER_TOKEN_BEDROCK, bedrock-runtime, amazonaws.com, api key, api_key, apikey, access key, access token, auth token, authorization, bearer, conn str, connection string, connectionstring, cookie, credential, database, host, [object Object] (+37 more)

Proximity: 300 characters

Should not match

Known false positives

References

Collections