# An agent config holds literal secrets (/docs/troubleshooting/literal-secrets-agent-config)

What turno doctor --security means by "literal secrets in <file>: <found>", and the fix.

This page is for when `turno doctor --security` reports the finding below: what it means and how to fix it.

## What you see [#what-you-see]

```text
  !  literal secrets in <file>: <found>
     fix: turno mcp import --write --move-secrets && turno mcp sync
```

It is a warning; warnings do not change the exit code. Words in angle brackets stand for values from your machine.

## Why it happens [#why-it-happens]

An agent's own config still defines an MCP server with a secret written in it. Importing with `--move-secrets` stores env and header secrets in the secret store.

## Fix [#fix]

Run:

```sh
turno mcp import --write --move-secrets && turno mcp sync
```

`turno doctor --security --fix` does not run it for you, because it needs a decision or an answer from you.

Then run `turno doctor --security` again to see the row turn into `ok`.

The check lives in [`packages/turno/src/cli/security.ts`](https://github.com/wimo-dev/turno/blob/main/packages/turno/src/cli/security.ts).