Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/n8n skills/Security-credentials-and-governance
Reference · n8n skills

Security-credentials-and-governance

Part of n8n skills. Install the skill and your agent reads this page when it needs the depth.

Security, Credentials, and Governance

Credential Safety

Never put secret values in generated workflow JSON. Generated artifacts may include credential names and placeholder IDs only.

Sensitive values include:

Safe Credential Map Format

| Credential name | n8n credential type | Used by nodes | Setup owner | Notes |
|---|---|---|---|---|
| REPLACE_WITH_CRM_API | HTTP Header Auth | Action: Upsert CRM Lead | Admin | Scope to lead write only |

Webhook Security

For production webhooks:

AI Workflow Security

AI agent workflows need stronger controls:

Code and Execute Command Risk

Code nodes and Execute Command nodes increase risk. Use them only when justified. For generated public templates:

Sharing Workflow JSON

Workflow exports may contain credential names and IDs. Names can be sensitive if they reveal vendors, tenants, or environments. Before publishing:

Governance Checklist

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.