Penstock

Guide / Every rule

API key or secret written into the diagram

The check agents/plain-text-secret, in the group AI agents.

Error

Why it matters

A key typed into a field is saved in the file, in version control and in every copy of the diagram, and anyone who can read the diagram can use it.

How to fix it

Create a connector secret and write {{secrets.NAME}} in the field.

Where you see it

The Problems tab of the BPMN editor lists it, the Agents tab shows it on the agent it belongs to, and penstock check reports it as agents/plain-text-secret. It runs on .bpmn files and is free.

Rule details

Idagents/plain-text-secret
GroupAI agents
LevelError: the diagram or the process is wrong

Read more: AI agents of Camunda 8. All rules: Every rule.