# `configuration.secret_invalid`

Secret option is not true or false.

Area 10, [Configuration and time](../topics/configuration-and-time.md); not declinable; the next step is usually the agent's.

```jadpo
config {
    api_key: Text {
        secret: yes
    }
}
```

```text
error: `secret:` on `api_key` isn't `true` or `false`
 --> main.jadpo:3:17
  |
3 |         secret: yes
  |                 ^^^ not a flag
  reason: `secret: true` marks a value that must never leave the server; the setting is either secret or it is not.
  next: Write `secret: true`, or leave `secret:` out (agent)
  rule: configuration.secret_invalid
  help: https://jadpo.dev/docs/errors/configuration.secret_invalid

check failed: 1 error, 1 file
```
