Datatypes › Secrets and credentials (passwords, keys, tokens)

API key or client secret

ID api_key

DatatypeNot PIIDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Secret string that an application presents to an API or an identity provider to authenticate itself, such as an API key, a subscription key or an OAuth client secret. Formats differ by service.

Categories
Secrets and credentials (passwords, keys, tokens)
Countries
Global (not tied to a country)
Languages
Common to most languages
Microsoft Purview
Azure Bot Framework secret key, Azure Bot service app secret, Azure Cognitive Search API key, Azure DevOps app secret, Azure Machine Learning web service API key, Azure Maps subscription key, Client secret / API key, Microsoft Bing maps key, All Credential Types, All credentials
Quality
55/100 · missing: regexp, examples, negative example, translation
Metacrafter rules
no detection rule yet
Supported by tools
Microsoft Purview Data Loss Prevention, Nightfall AI

Child datatypes

IDNameCategoriesCountriesDescription
anthropic_api_key Anthropic API key secrets global Secret key of the Anthropic (Claude) API, sent in the x-api-key header. Standard keys start with sk-ant-api03- and Admin API keys, which...
azure_ai_services_key Azure AI services key (Azure OpenAI, Cognitive Services) secrets global Key of an Azure AI services resource, including Azure OpenAI and the former Cognitive Services, sent in the api-key or...
azure_entra_client_secret Microsoft Entra ID client secret secrets global Client secret of a Microsoft Entra ID (Azure AD) application registration, used by a service principal to obtain tokens. Microsoft...
azure_function_key Azure Functions key secrets global Function, host or master key of Azure Functions, sent as the code query parameter or the x-functions-key header to call an...
cloudflare_global_api_key Cloudflare Global API Key secrets global Global API Key of a Cloudflare user account, which grants full access to the account. Keys in the scannable format start with cfk_,...
cloudflare_origin_ca_key Cloudflare Origin CA key secrets global Key for the Cloudflare Origin CA certificates API, often sent in the X-Auth-User-Service-Key header and also used by the Keyless SSL key...
flutterwave_secret_key Flutterwave secret key secrets global Secret API key of the Flutterwave payments API. Flutterwave documents that secret keys start with FLWSECK and that test keys add _TEST...
gitlab_oauth_app_secret GitLab OAuth application secret secrets global Client secret of an OAuth application registered in GitLab. GitLab gives these tokens the prefix gloas-, which cannot be configured....
jfrog_api_key JFrog Artifactory API key secrets global Deprecated API key of JFrog Artifactory: the prefix AKCp followed by 69 letters and digits (the format that the gitleaks secret scanner...
linear_api_key Linear API key secrets global Personal API key of Linear, the issue tracking service: lin_api_ followed by 40 letters and digits.
mailchimp_api_key Mailchimp API key secrets global API key of the Mailchimp Marketing API: 32 hexadecimal digits, a hyphen and the data center of the account (for example us6), which is...
mailgun_api_key Mailgun API key secrets global Private API key of Mailgun, the password of HTTP Basic authentication with the user name api. The regexp covers the older form key-...
new_relic_insights_key New Relic Insights insert or query key secrets global Older New Relic key for the Insights event insert API (insert key) or the Insights query API (query key). New Relic does not publish the...
new_relic_license_key New Relic license key secrets global Ingest license key of a New Relic account, used by agents to report data. New Relic documents it as a 40-character key that ends in...
new_relic_user_api_key New Relic user key secrets global User key of New Relic, a personal API key that NerdGraph, New Relic's GraphQL API, requires for querying data and changing...
openai_api_key OpenAI API key secrets global Secret key of the OpenAI API. Keys start with sk-; project, service account and admin keys start with sk-proj-, sk-svcacct- or...
openrouter_api_key OpenRouter API key secrets global API key of OpenRouter. The OpenRouter API reference shows key labels that start with sk-or-v1-; the format is not described in prose....
posthog_personal_api_key PostHog personal API key secrets global Personal API key of PostHog, which gives access to the private API endpoints of a user's projects. PostHog documents the prefix phx_....
postman_api_key Postman API key secrets global API key of the Postman API, sent in the X-API-Key header: PMAK- followed by 24 hexadecimal digits, a hyphen and 34 more hexadecimal digits.
prefect_api_key Prefect Cloud API key secrets global API key of Prefect Cloud, used by workers and the Prefect client. Prefect does not publish the format; the regexp follows the gitleaks...
rubygems_api_key RubyGems API key secrets global API key of RubyGems.org, used by the gem CLI to push and manage gems, for example through the GEM_HOST_API_KEY environment variable:...
sendgrid_api_key SendGrid API key secrets global API key of Twilio SendGrid, also used as the SMTP password. Keys are always 69 characters long and start with SG. followed by letters,...
sendinblue_api_key Sendinblue API key secrets global API key of the Sendinblue email marketing service: xkeysib- followed by 64 hexadecimal digits, a hyphen and 16 letters and digits.
shippo_api_token Shippo API token secrets global API token of the Shippo shipping API. Shippo documents that live tokens start with shippo_live_ and test tokens with shippo_test_; the...
shopify_shared_secret Shopify app shared secret secrets global Shared secret of a Shopify app: the prefix shpss_ followed by 32 hexadecimal digits.
square_oauth_secret Square OAuth application secret secrets global Application secret of a Square developer application, which the application uses to exchange OAuth authorization codes for access...
stripe_api_key Stripe secret or restricted API key secrets global Server-side API key of Stripe. Secret keys start with sk_ and restricted keys with rk_, followed by test_ for a sandbox or live_ for...
supabase_secret_key Supabase secret key secrets global Secret API key of a Supabase project, which bypasses row level security and must stay on the server. Supabase documents that secret keys...
telegram_bot_token Telegram bot token secrets global Token that authorizes a bot in the Telegram Bot API: the numeric bot ID, a colon and a secret that starts with A. Telegram documents the...
yandex_cloud_api_key Yandex Cloud API key secrets global API key of a Yandex Cloud service account. Yandex does not publish the format; the masked key in the Yandex Cloud documentation and the...

Sources

Use this record