> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# hardcoded-secret

> The source supplies a literal credential or cryptographic secret.

## What it flags

A known credential shape (`sk_live_`, `AKIA...`, `ghp_`, private keys), a string literal used as a JWT, HMAC or session signing key, or a high-entropy value assigned to a secret-named variable or property. Explicit template placeholders (such as `changeme`, `your-secret-here`, or `<token>`), documentation examples and test sources are skipped; placeholder-word literals are still reported when used in runtime `config` files or as `process.env` fallbacks. Low-entropy named values are contextual.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "hardcoded-secret": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.