> For the complete documentation index, see [llms.txt](https://docs.stepsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stepsecurity.io/workspace/detections/supported-secret-types.md).

# Supported Secret Types

Harden-Runner scans the build logs and uploaded artifacts of your GitHub Actions workflow runs for exposed credentials. When it finds a value that matches one of the secret types on this page, it raises a [Secrets in Build Logs](https://docs.stepsecurity.io/workspace/detections.md#secrets-in-build-logs) or [Secrets in Artifacts](https://docs.stepsecurity.io/workspace/detections.md#secrets-in-artifacts) detection.

### How secret detection works

* **Format-based matching:** Harden-Runner identifies each secret type by the vendor-specific format of the credential, such as its prefix, length, and structure.
* **Complete values only:** A value is detected when it matches the full format of the credential. Truncated or malformed values do not match. For example, a private key is detected only when both its `BEGIN` and `END` lines are present.
* **Masked results:** Each detection records a masked preview of the secret and the location of the match. The secret value itself is never stored.

### Supported secret types

#### Cloud and infrastructure

| Provider                                | Secret types detected                              |
| --------------------------------------- | -------------------------------------------------- |
| Alibaba Cloud                           | Access key ID, secret key                          |
| Amazon ECR (Elastic Container Registry) | Login password                                     |
| AWS CodeArtifact                        | Authorization token                                |
| Cloudflare                              | API key, global API key, Origin CA key             |
| Confluent                               | Access token, secret key                           |
| Databricks                              | API token                                          |
| Defined Networking                      | API token                                          |
| DigitalOcean                            | Access token, personal access token, refresh token |
| Doppler                                 | API token                                          |
| Fastly                                  | API token                                          |
| Google Cloud                            | API key                                            |
| HashiCorp Terraform                     | API token                                          |
| HashiCorp Vault                         | Batch token, service token                         |
| Heroku                                  | API key                                            |
| Infracost                               | API token                                          |
| Netlify                                 | Access token                                       |
| PlanetScale                             | API token, OAuth token, password                   |
| Pulumi                                  | API token                                          |
| Scalingo                                | API token                                          |
| Yandex                                  | Access token, API key, AWS-compatible access token |

#### Source control and CI/CD

| Provider  | Secret types detected                                                                                                                                                             |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Atlassian | API token                                                                                                                                                                         |
| Bitbucket | Client ID, client secret                                                                                                                                                          |
| Codecov   | Access token                                                                                                                                                                      |
| Drone CI  | Access token                                                                                                                                                                      |
| GitHub    | Personal access token (classic), fine-grained personal access token, OAuth access token, user-to-server token, server-to-server token, refresh token, Base64-encoded access token |
| GitLab    | Personal access token, pipeline trigger token, runner registration token                                                                                                          |
| Postman   | API token                                                                                                                                                                         |
| Prefect   | API token                                                                                                                                                                         |
| ReadMe    | API token                                                                                                                                                                         |
| Snyk      | API token                                                                                                                                                                         |
| Travis CI | Access token                                                                                                                                                                      |

#### Package registries

| Provider | Secret types detected   |
| -------- | ----------------------- |
| Clojars  | API token               |
| JFrog    | API key, identity token |
| npm      | Access token            |
| PyPI     | Upload token            |
| RubyGems | API token               |

#### Messaging and collaboration

| Provider        | Secret types detected                                                                                                                                          |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Airtable        | API key                                                                                                                                                        |
| Asana           | Client ID, client secret                                                                                                                                       |
| Beamer          | API token                                                                                                                                                      |
| Discord         | API token, client ID, client secret                                                                                                                            |
| Frame.io        | API token                                                                                                                                                      |
| Gitter          | Access token                                                                                                                                                   |
| Intercom        | API key                                                                                                                                                        |
| Linear          | API key, client secret                                                                                                                                         |
| Mattermost      | Access token                                                                                                                                                   |
| MessageBird     | API token, client ID                                                                                                                                           |
| Microsoft Teams | Webhook URL                                                                                                                                                    |
| Sendbird        | Access ID, access token                                                                                                                                        |
| Slack           | App token, bot token, user token, configuration access token, configuration refresh token, legacy token, legacy bot token, legacy workspace token, webhook URL |
| Twilio          | API key                                                                                                                                                        |
| Typeform        | API token                                                                                                                                                      |
| Zendesk         | Secret key                                                                                                                                                     |

#### Email

| Provider   | Secret types detected                      |
| ---------- | ------------------------------------------ |
| Lob        | API key, publishable API key               |
| Mailchimp  | API key                                    |
| Mailgun    | Private API token, public key, signing key |
| SendGrid   | API token                                  |
| Sendinblue | API token                                  |

#### Payments, finance, crypto, and e-commerce

| Provider    | Secret types detected                                                          |
| ----------- | ------------------------------------------------------------------------------ |
| Bittrex     | Access key, secret key                                                         |
| Coinbase    | Access token                                                                   |
| Duffel      | API token                                                                      |
| EasyPost    | API token, test API token                                                      |
| Etsy        | Access token                                                                   |
| Finicity    | API token, client secret                                                       |
| Finnhub     | Access token                                                                   |
| Flutterwave | Secret key, public key, encryption key                                         |
| FreshBooks  | Access token                                                                   |
| GoCardless  | API token                                                                      |
| Kraken      | Access token                                                                   |
| KuCoin      | Access token, secret key                                                       |
| Plaid       | API token, client ID, secret key                                               |
| Shippo      | API token                                                                      |
| Shopify     | Access token, custom app access token, private app access token, shared secret |
| Squarespace | Access token                                                                   |
| Stripe      | Access token                                                                   |

#### Observability

| Provider   | Secret types detected                                    |
| ---------- | -------------------------------------------------------- |
| Dynatrace  | API token                                                |
| Grafana    | API key, Grafana Cloud API token, service account token  |
| New Relic  | User API key, user API ID, insert key, browser API token |
| Sentry     | Access token                                             |
| Sumo Logic | Access ID, access token                                  |

#### AI and data

| Provider     | Secret types detected                |
| ------------ | ------------------------------------ |
| Algolia      | API key                              |
| Contentful   | Delivery API token                   |
| Hugging Face | Access token, organization API token |
| Mapbox       | API token                            |
| OpenAI       | API key                              |
| RapidAPI     | Access token                         |

#### Identity and authentication

| Provider             | Secret types detected                                          |
| -------------------- | -------------------------------------------------------------- |
| Adobe                | Client ID, client secret                                       |
| Authress             | Service client access key                                      |
| Intra42              | Client secret                                                  |
| JSON Web Token (JWT) | JWT, Base64-encoded JWT                                        |
| LinkedIn             | Client ID, client secret                                       |
| Okta                 | Access token                                                   |
| X (formerly Twitter) | API key, API secret, access token, access secret, bearer token |

#### Other SaaS

| Provider           | Secret types detected                                  |
| ------------------ | ------------------------------------------------------ |
| Adafruit           | API key                                                |
| Dropbox            | API token, long-lived API token, short-lived API token |
| Flickr             | Access token                                           |
| HubSpot            | API key                                                |
| The New York Times | Access token                                           |
| Sidekiq            | Secret, sensitive URL                                  |
| Twitch             | API token                                              |

#### Private keys

| Provider           | Secret types detected                                                                                |
| ------------------ | ---------------------------------------------------------------------------------------------------- |
| age                | Secret key                                                                                           |
| Private key blocks | Private keys enclosed in `-----BEGIN ... PRIVATE KEY-----` and `-----END ... PRIVATE KEY-----` lines |

### Not yet supported

Harden-Runner does not currently detect the following secret types:

* AWS access key IDs and AWS secret access keys
* AI (artificial intelligence) provider keys other than OpenAI and Hugging Face, for example Anthropic and Google Gemini API keys
* Azure credentials
* Generic high-entropy strings that have no vendor-specific format

If you need detection for one of these, or for any secret type not listed on this page, contact <support@stepsecurity.io>.

### Frequently asked questions

#### Why doesn't Harden-Runner detect AWS access keys?

AWS credentials come in two parts, and each part causes a high false-positive rate in CI/CD (continuous integration and continuous delivery) build logs:

* **Access key ID (starts with `AKIA`):** The access key ID identifies a key; the secret access key is the credential. Access key IDs appear constantly in legitimate build output, such as AWS CLI (command-line interface) output, IAM (Identity and Access Management) policy documents echoed for debugging, and Terraform plans.
* **Secret access key:** AWS secret access keys have no distinctive prefix, and their character set overlaps with hashes and other encoded values that appear in normal build output.

Harden-Runner does detect two AWS token types: AWS CodeArtifact authorization tokens and Amazon ECR (Elastic Container Registry) login passwords.

To reduce the risk of long-lived AWS keys in your workflows, authenticate to AWS with OpenID Connect (OIDC), which issues short-lived credentials for each job.

#### Why wasn't a sample or test secret detected?

Harden-Runner matches the exact format of each real credential. Placeholder values often have the right prefix but the wrong length or character set, so they do not match. For example, GitHub personal access tokens have exactly 36 characters after the `ghp_` prefix, so a test value with a different length is not detected.

The full value also needs to appear in the log or artifact. If a step prints only part of a secret, such as the first lines of a private key without its `END` line, there is no complete value to match.

#### Why aren't generic high-entropy strings detected?

Build logs and artifacts contain many random-looking values that are not secrets, such as commit hashes, checksums, build IDs, and encoded data. Flagging every high-entropy string would bury real findings in false positives, so Harden-Runner detects only secret types with a recognizable, vendor-specific format.

#### How do I request support for a new secret type?

Contact <support@stepsecurity.io> with the provider and secret type you need.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stepsecurity.io/workspace/detections/supported-secret-types.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
