Skip to Content

Troubleshootingturno doctor --security

An agent config holds literal secrets

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

View source

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

What you see

  !  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

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

Run:

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.

On this page