> ## 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.

# compose-hardcoded-secret

> A Docker Compose service supplies a secret as a literal environment value.

## What it flags

A docker-compose `environment:` entry sets a secret-looking key to a literal value instead of a substitution or secret.

## Configuration

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

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


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